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

Function scopeWith

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

Source from the content-addressed store, hash-verified

2866
2867/* @internal */
2868export const scopeWith = <A, E, R>(
2869 f: (scope: Scope.Scope) => Effect.Effect<A, E, R>
2870): Effect.Effect<A, E, R | Scope.Scope> => core.flatMap(scopeTag, f)
2871
2872/** @internal */
2873export const scopedWith = <A, E, R>(

Callers 1

withEarlyReleaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected