effect-io-ai

Package: effect
Module: Stream

Stream.contextWithStream

Accesses the context of the stream in the context of a stream.

Signature

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

Source

Since v2.0.0