effect-io-ai

Package: effect
Module: Channel

Channel.suspend

Lazily constructs a channel from the given side effect.

Signature

declare const suspend: <OutElem, InElem, OutErr, InErr, OutDone, InDone, Env>(evaluate: LazyArg<Channel<OutElem, InElem, OutErr, InErr, OutDone, InDone, Env>>) => Channel<OutElem, InElem, OutErr, InErr, OutDone, InDone, Env>

Source

Since v2.0.0