TelemetryContextElement

A CoroutineContext.Element that carries a TelemetryContext across coroutine suspension points.

Types

Link copied to clipboard

The default key for telemetry context elements.

Properties

Link copied to clipboard

The underlying telemetry context instance.

Link copied to clipboard
abstract val key: CoroutineContext.Key<*>

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
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext