effect-io-ai

Package: effect
Module: Sink

Sink.provideContext

Provides the sink with its required context, which eliminates its dependency on R.

Signature

declare const provideContext: { <R>(context: Context.Context<R>): <A, In, L, E>(self: Sink<A, In, L, E, R>) => Sink<A, In, L, E, never>; <A, In, L, E, R>(self: Sink<A, In, L, E, R>, context: Context.Context<R>): Sink<A, In, L, E, never>; }

Source

Since v2.0.0