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

Function suspend

packages/effect/src/internal/stream.ts:6430–6431  ·  view source on GitHub ↗
(stream: LazyArg<Stream.Stream<A, E, R>>)

Source from the content-addressed store, hash-verified

6428
6429/** @internal */
6430export const suspend = <A, E, R>(stream: LazyArg<Stream.Stream<A, E, R>>): Stream.Stream<A, E, R> =>
6431 new StreamImpl(core.suspend(() => toChannel(stream())))
6432
6433/** @internal */
6434export const take = dual<

Callers 6

stream.tsFile · 0.70
fromIterableFunction · 0.70
rangeFunction · 0.70
syncFunction · 0.70
unfoldChunkEffectFunction · 0.70
encodeTextFunction · 0.70

Calls 2

toChannelFunction · 0.70
streamFunction · 0.50

Tested by

no test coverage detected