Coroutine Context
Types
Element
Link copied to clipboard
An element of the CoroutineContext. An element of the coroutine context is a singleton context by itself.
Key
Link copied to clipboard
Key for the elements of CoroutineContext. E is a type of element with this key.
Functions
fold
Link copied to clipboard
get
Link copied to clipboard
abstract operator fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Content copied to clipboard
Returns the element with the given key from this context or null
.