MCPcopy Index your code
hub / github.com/Effect-TS/effect / unwrap

Function unwrap

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

Source from the content-addressed store, hash-verified

7449
7450/** @internal */
7451export const unwrap = <A, E2, R2, E, R>(
7452 effect: Effect.Effect<Stream.Stream<A, E2, R2>, E, R>
7453): Stream.Stream<A, E | E2, R | R2> => flatten(fromEffect(effect))
7454
7455/** @internal */
7456export 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