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

Function flattenTake

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

Source from the content-addressed store, hash-verified

2965
2966/** @internal */
2967export const flattenTake = <A, E2, E, R>(self: Stream.Stream<Take.Take<A, E2>, E, R>): Stream.Stream<A, E | E2, R> =>
2968 flattenChunks(flattenExitOption(pipe(self, map((take) => take.exit))))
2969
2970/** @internal */
2971export const forever = <A, E, R>(self: Stream.Stream<A, E, R>): Stream.Stream<A, E, R> =>

Callers 1

stream.tsFile · 0.85

Calls 4

flattenChunksFunction · 0.85
flattenExitOptionFunction · 0.85
pipeFunction · 0.70
mapFunction · 0.50

Tested by

no test coverage detected