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

Function scopedEffect

packages/effect/src/internal/fiberRuntime.ts:2868–2869  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

2866
2867/* @internal */
2868export const scopedEffect = <A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, Exclude<R, Scope.Scope>> =>
2869 core.flatMap(scopeMake(), (scope) => scopeUse(effect, scope))
2870
2871/* @internal */
2872export const sequentialFinalizers = <A, E, R>(self: Effect.Effect<A, E, R>): Effect.Effect<A, E, R> =>

Callers

nothing calls this directly

Calls 1

scopeMakeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…