nee-core / dev.neeffect.nee.effects.async / ActiveAsynStack

ActiveAsynStack

class ActiveAsynStack<R> : AsyncStack<R>

Ongoing async process.

Constructors

<init>

Ongoing async process.

ActiveAsynStack(parent: AsyncStack<R>, actions: Seq<AsyncClosingAction<R>>)

Properties

parent

val parent: AsyncStack<R>

Functions

closeAsync

fun closeAsync(env: R): Pair<AsyncStack<R>, R>

Extension Functions

onClose

fun <R> AsyncStack<R>.onClose(f: (R) -> R): DirtyAsyncStack<R>