ocaml-opentelemetry/src/ambient-context/default_.tls.ml
Simon Cruanes c5b2269aab
refactor thoroughly ambient-context
we have a new explicit `Storage.t` interface, that can be used to
get a `Context.t` (a hmap) and to locally swap it; then we have multiple
implementations of the Storage; and then we have a singleton atomic
containing the "main" storage.
2025-12-04 00:23:23 -05:00

1 line
56 B
OCaml

let storage = Opentelemetry_ambient_context_tls.storage