MCPcopy
hub / github.com/Effect-TS/effect / suspend

Function suspend

packages/effect/src/internal/sink.ts:64–65  ·  view source on GitHub ↗
(evaluate: LazyArg<Sink.Sink<A, In, L, E, R>>)

Source from the content-addressed store, hash-verified

62
63/** @internal */
64export const suspend = <A, In, L, E, R>(evaluate: LazyArg<Sink.Sink<A, In, L, E, R>>): Sink.Sink<A, In, L, E, R> =>
65 new SinkImpl(core.suspend(() => toChannel(evaluate())))
66
67/** @internal */
68export const as = dual<

Callers 11

collectAllNFunction · 0.70
dropFunction · 0.70
dropUntilEffectFunction · 0.70
dropWhileEffectFunction · 0.70
foldFunction · 0.70
foldChunksFunction · 0.70
foldChunksEffectFunction · 0.70
foldEffectFunction · 0.70
foldWeightedDecomposeFunction · 0.70
sink.tsFile · 0.70

Calls 1

toChannelFunction · 0.70

Tested by

no test coverage detected