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

Function unwrapScoped

packages/effect/src/internal/stream.ts:7456–7458  ·  view source on GitHub ↗
(
  effect: Effect.Effect<Stream.Stream<A, E2, R2>, E, R>
)

Source from the content-addressed store, hash-verified

7454
7455/** @internal */
7456export const unwrapScoped = <A, E2, R2, E, R>(
7457 effect: Effect.Effect<Stream.Stream<A, E2, R2>, E, R>
7458): Stream.Stream<A, E | E2, Exclude<R, Scope.Scope> | R2> => flatten(scoped(effect))
7459
7460/** @internal */
7461export const unwrapScopedWith = <A, E2, R2, E, R>(

Callers 4

stream.tsFile · 0.70
fromTPubSubFunction · 0.70
fromReadableStreamFunction · 0.70
fromReadableStreamByobFunction · 0.70

Calls 2

flattenFunction · 0.70
scopedFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…