Element
An element of the CoroutineContext . An element of the coroutine context is a singleton context by itself.
Properties
key
A key of this coroutine context element.
abstract
val
key
:
Key
<
*
>
Functions
get
Returns the element with the given
key
from this context or
null
.
open
operator
fun
<
E
:
Element
>
get
(
key
:
Key
<
E
>
)
:
E
?
minusKey
Returns a context containing elements from this context, but without an element with the specified key .
open
fun
minusKey
(
key
:
Key
<
*
>
)
:
CoroutineContext