class DirtyAsyncStack<R> : AsyncStack<R>
Something is registered.
<init> |
Something is registered. DirtyAsyncStack(parent: AsyncStack<R>, actions: Seq<AsyncClosingAction<R>>) |
parent |
val parent: AsyncStack<R> |
cleanUp |
fun cleanUp(env: R): Pair<AsyncStack<R>, R> |
enterAsync |
fun enterAsync(): ActiveAsynStack<R> |
onClose |
fun <R> AsyncStack<R>.onClose(f: (R) -> R): DirtyAsyncStack<R> |