ContextElement

Constructors

Link copied to clipboard
constructor(key: ContextualVal.ContextKey<T>, valueGetter: (CoroutineContext) -> T)

Properties

Link copied to clipboard
open override val key: ContextualVal.ContextKey<T>

Functions

Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
fun CoroutineContext.invokeOnCompletion(handler: CompletionHandler): Disposable

Helper for adding a completion handler to a CoroutineContext.

Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext
Link copied to clipboard
open override fun toString(): String