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

Function unwrapScoped

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

Source from the content-addressed store, hash-verified

7492
7493/** @internal */
7494export const unwrapScoped = <A, E2, R2, E, R>(
7495 effect: Effect.Effect<Stream.Stream<A, E2, R2>, E, R>
7496): Stream.Stream<A, E | E2, Exclude<R, Scope.Scope> | R2> => flatten(scoped(effect))
7497
7498/** @internal */
7499export 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