Package: effect
Module: Sink
Provides a Context to this sink.
Details
Services contained in the provided context are removed from the sink’s service requirements.
Signature
declare const provideContext: { <Provided>(context: Context.Context<Provided>): <A, In, L, E, R>(self: Sink<A, In, L, E, R>) => Sink<A, In, L, E, Exclude<R, Provided>>; <A, In, L, E, R, Provided>(self: Sink<A, In, L, E, R>, context: Context.Context<Provided>): Sink<A, In, L, E, Exclude<R, Provided>>; }
Since v2.0.0