MCPcopy
hub / github.com/Effect-TS/effect / tracerWith

Function tracerWith

packages/effect/src/internal/defaultServices.ts:152–153  ·  view source on GitHub ↗
(f: (tracer: Tracer.Tracer) => Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

150
151/** @internal */
152export const tracerWith = <A, E, R>(f: (tracer: Tracer.Tracer) => Effect.Effect<A, E, R>): Effect.Effect<A, E, R> =>
153 defaultServicesWith((services) => f(services.unsafeMap.get(tracer.tracerTag.key)))
154
155/** @internal */
156export const withTracer = dual<

Callers 1

core-effect.tsFile · 0.85

Calls 3

defaultServicesWithFunction · 0.85
getMethod · 0.65
fFunction · 0.50

Tested by

no test coverage detected