ContextStorage

zio.telemetry.opentelemetry.context.ContextStorage
See theContextStorage companion object
sealed trait ContextStorage

An interface crafted to offer abstraction from the approach of context propagation.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Native.type
class ZIOFiberRef

Members list

Value members

Abstract methods

def get(implicit trace: Trace): UIO[Context]
def getAndSet(context: Context)(implicit trace: Trace): UIO[Context]
def locally[R, E, A](context: Context)(zio: ZIO[R, E, A])(implicit trace: Trace): ZIO[R, E, A]
def locallyScoped(context: Context)(implicit trace: Trace): ZIO[Scope, Nothing, Unit]
def set(context: Context)(implicit trace: Trace): UIO[Unit]
def updateAndGet(f: Context => Context)(implicit trace: Trace): UIO[Context]