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

Function scopeWith

packages/effect/src/internal/fiberRuntime.ts:2858–2860  ·  view source on GitHub ↗
(
  f: (scope: Scope.Scope) => Effect.Effect<A, E, R>
)

Source from the content-addressed store, hash-verified

2856
2857/* @internal */
2858export const scopeWith = <A, E, R>(
2859 f: (scope: Scope.Scope) => Effect.Effect<A, E, R>
2860): Effect.Effect<A, E, R | Scope.Scope> => core.flatMap(scopeTag, f)
2861
2862/** @internal */
2863export const scopedWith = <A, E, R>(

Callers 1

withEarlyReleaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…