effect-io-ai

Package: effect
Module: Channel

Channel.contextWith

Accesses the context of the channel with the specified function.

Signature

declare const contextWith: <Env, OutDone>(f: (env: Context.Context<Env>) => OutDone) => Channel<never, unknown, never, unknown, OutDone, unknown, Env>

Source

Since v2.0.0