effect-io-ai

Package: effect
Module: Stream

Stream.provideContext

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

Signature

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

Source

Since v2.0.0