class ActiveAsynStack<R> : AsyncStack<R>
Ongoing async process.
<init> |
Ongoing async process. ActiveAsynStack(parent: AsyncStack<R>, actions: Seq<AsyncClosingAction<R>>) |
parent |
val parent: AsyncStack<R> |
cleanUp |
fun cleanUp(env: R): Pair<AsyncStack<R>, R> |
closeAsync |
fun closeAsync(env: R): Pair<AsyncStack<R>, R> |
doOnCleanUp |
fun doOnCleanUp(action: AsyncClosingAction<R>): ActiveAsynStack<R> |
logger |
Use it to log using slf4j. fun <T : Logging> T.logger(): Logger |
onClose |
fun <R> AsyncStack<R>.onClose(f: (R) -> R): ActiveAsynStack<R> |