SentierContext¶
Stores the current task into the CoroutineContext of a coroutine.
Configuration¶
To be able to use Sentier functions in a coroutine, the coroutine must own a span.
Types¶
Companion¶
object Companion : CoroutineContext.Key<SentierContext>
Properties¶
key¶
open override val key: CoroutineContext.Key<*>
span¶
Functions¶
fold¶
get¶
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
minusKey¶
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
plus¶
open operator fun plus(context: CoroutineContext): CoroutineContext