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

Function scopedDiscard

packages/effect/src/internal/layer.ts:952–954  ·  view source on GitHub ↗
(
  effect: Effect.Effect<X, E, R>
)

Source from the content-addressed store, hash-verified

950
951/** @internal */
952export const scopedDiscard = <X, E, R>(
953 effect: Effect.Effect<X, E, R>
954): Layer.Layer<never, E, Exclude<R, Scope.Scope>> => scopedContext(pipe(effect, core.as(Context.empty())))
955
956/** @internal */
957export const scopedContext = <A, E, R>(

Callers 12

setClockFunction · 0.85
setRandomFunction · 0.85
setRequestBatchingFunction · 0.85
setRequestCachingFunction · 0.85
Layer.tsFile · 0.85
setSchedulerFunction · 0.85
setTracerEnabledFunction · 0.85
setTracerTimingFunction · 0.85
fiberRefLocallyScopedFunction · 0.85

Calls 2

scopedContextFunction · 0.85
pipeFunction · 0.70

Tested by

no test coverage detected