MCPcopy Create free account
hub / github.com/Effect-TS/effect / withTracerScoped

Function withTracerScoped

packages/effect/src/internal/fiberRuntime.ts:3840–3841  ·  view source on GitHub ↗
(value: Tracer.Tracer)

Source from the content-addressed store, hash-verified

3838
3839/* @internal */
3840export const withTracerScoped = (value: Tracer.Tracer): Effect.Effect<void, never, Scope.Scope> =>
3841 fiberRefLocallyScopedWith(defaultServices.currentServices, Context.add(tracer.tracerTag, value))
3842
3843/** @internal */
3844export const withSpanScoped: {

Callers

nothing calls this directly

Calls 2

addMethod · 0.65

Tested by

no test coverage detected