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

Function unwrapScopedWith

packages/effect/src/internal/stream.ts:7499–7501  ·  view source on GitHub ↗
(
  f: (scope: Scope.Scope) => Effect.Effect<Stream.Stream<A, E2, R2>, E, R>
)

Source from the content-addressed store, hash-verified

7497
7498/** @internal */
7499export const unwrapScopedWith = <A, E2, R2, E, R>(
7500 f: (scope: Scope.Scope) => Effect.Effect<Stream.Stream<A, E2, R2>, E, R>
7501): Stream.Stream<A, E | E2, R | R2> => flatten(scopedWith((scope) => f(scope)))
7502
7503/** @internal */
7504export const updateService = dual<

Callers 1

stream.tsFile · 0.70

Calls 3

flattenFunction · 0.70
scopedWithFunction · 0.70
fFunction · 0.50

Tested by

no test coverage detected