LocalProvider

org.typelevel.otel4s.context.LocalProvider
See theLocalProvider companion object
trait LocalProvider[F[_], Ctx]

A utility class to simplify the creation of the Local.

Type parameters

Ctx

the type of the context

F

the higher-kinded type of a polymorphic effect

Attributes

Companion
object
Source
LocalProvider.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def local: F[Local[F, Ctx]]

Creates a Local instance.

Creates a Local instance. The method is invoked once per creation of the Otel4s instance.

Attributes

Source
LocalProvider.scala