MCPcopy Index your code
hub / github.com/Effect-TS/effect / fiberRefLocallyScopedWith

Function fiberRefLocallyScopedWith

packages/effect/src/internal/layer.ts:658–659  ·  view source on GitHub ↗
(self: FiberRef<A>, value: (_: A) => A)

Source from the content-addressed store, hash-verified

656
657/** @internal */
658export const fiberRefLocallyScopedWith = <A>(self: FiberRef<A>, value: (_: A) => A): Layer.Layer<never> =>
659 scopedDiscard(fiberRuntime.fiberRefLocallyScopedWith(self, value))
660
661/** @internal */
662export const fromFunction = <I1, S1, I2, S2>(

Callers 6

annotateLogsScopedFunction · 0.85
labelMetricsScopedFunction · 0.85
withClockScopedFunction · 0.85
withRandomScopedFunction · 0.85
withConfigProviderScopedFunction · 0.85
withTracerScopedFunction · 0.85

Calls 1

scopedDiscardFunction · 0.85

Tested by

no test coverage detected