PropagationUnsupportedToken


public static class PropagationUnsupportedToken implements PropagationToken


The PropagationToken instance that should be returned when context propagation is unsupported by the underlying Tracer.

Summary

Public fields

INSTANCE

Added in 2.0.0-alpha01
public static @NonNull PropagationUnsupportedToken INSTANCE

Public methods

close

Added in 2.0.0-alpha01
public void close()

contextElementOrNull

@DelicateTracingApi
public CoroutineContext.Element contextElementOrNull()
Returns
CoroutineContext.Element

a CoroutineContext.Element that needs to be installed in the kotlinx.coroutines.currentCoroutineContext prior to dispatching the suspending block of code being traced; if the token is being used in a suspending context.