# TelemetryContextElement

interface TelemetryContextElement : CoroutineContext.Element

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

## Types

Key
Link copied to clipboard
object Key : CoroutineContext.Key<TelemetryContextElement>

The default key for telemetry context elements.

## Properties

context
Link copied to clipboard
abstract val context: TelemetryContext

The underlying telemetry context instance.

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

## Functions

fold
Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
get
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
minusKey
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
plus
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext