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

Function unwrap

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

Source from the content-addressed store, hash-verified

7487
7488/** @internal */
7489export const unwrap = <A, E2, R2, E, R>(
7490 effect: Effect.Effect<Stream.Stream<A, E2, R2>, E, R>
7491): Stream.Stream<A, E | E2, R | R2> => flatten(fromEffect(effect))
7492
7493/** @internal */
7494export const unwrapScoped = <A, E2, R2, E, R>(

Callers 1

stream.tsFile · 0.70

Calls 2

flattenFunction · 0.70
fromEffectFunction · 0.70

Tested by

no test coverage detected