effect-io-ai

Package: effect
Module: Stream

Stream.contextWithEffect

Accesses the context of the stream in the context of an effect.

Signature

declare const contextWithEffect: <R0, A, E, R>(f: (env: Context.Context<R0>) => Effect.Effect<A, E, R>) => Stream<A, E, R0 | R>

Source

Since v2.0.0