W3cubDocs

/Kotlin

minusKey

open fun minusKey(key: Key<*>): CoroutineContext

Overrides CoroutineContext.minusKey

Returns a context containing elements from this context, but without an element with the specified key. Keys are compared by reference, that is to remove an element from the context the reference to its actual key object must be presented to this function.