class AsyncEnvWrapper<R> : AsyncSupport<R>, Logging
Keeps async status as atomic reference.
<init> |
Keeps async status as atomic reference. AsyncEnvWrapper(state: AtomicReference<AsyncStack<R>> = AtomicReference(CleanAsyncStack())) |
asyncStack |
fun asyncStack(): AsyncStack<R> |
setAsyncStack |
fun setAsyncStack(oldState: AsyncStack<R>, newState: AsyncStack<R>): Unit |
logger |
Use it to log using slf4j. fun <T : Logging> T.logger(): Logger |