effect-io-ai

Package: effect
Module: Sink

Sink.contextWithSink

Accesses the context of the sink in the context of a sink.

Signature

declare const contextWithSink: <R0, A, In, L, E, R>(f: (context: Context.Context<R0>) => Sink<A, In, L, E, R>) => Sink<A, In, L, E, R0 | R>

Source

Since v2.0.0