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

Function unwrapScopedWith

packages/effect/src/internal/stream.ts:7461–7463  ·  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

7459
7460/** @internal */
7461export const unwrapScopedWith = <A, E2, R2, E, R>(
7462 f: (scope: Scope.Scope) => Effect.Effect<Stream.Stream<A, E2, R2>, E, R>
7463): Stream.Stream<A, E | E2, R | R2> => flatten(scopedWith((scope) => f(scope)))
7464
7465/** @internal */
7466export 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…