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

Function flattenTake

packages/effect/src/Stream.ts:2806–2811  ·  view source on GitHub ↗
(self: Stream<Take.Take<A, E>, E2, R>)

Source from the content-addressed store, hash-verified

2804 * @since 2.0.0
2805 */
2806export const flattenTake = <A, E, E2, R>(self: Stream<Take.Take<A, E>, E2, R>): Stream<A, E | E2, R> =>
2807 self.channel.pipe(
2808 Channel.flattenArray,
2809 Channel.flattenTake,
2810 fromChannel
2811 )
2812
2813/**
2814 * Concatenates two streams, emitting all elements from the first stream

Callers

nothing calls this directly

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected