effect-io-ai

Package: effect
Module: Channel

Channel.contextWithChannel

Accesses the context of the channel in the context of a channel.

Signature

declare const contextWithChannel: <Env, OutElem, InElem, OutErr, InErr, OutDone, InDone, Env1>(f: (env: Context.Context<Env>) => Channel<OutElem, InElem, OutErr, InErr, OutDone, InDone, Env1>) => Channel<OutElem, InElem, OutErr, InErr, OutDone, InDone, Env | Env1>

Source

Since v2.0.0