effect-io-ai

Package: effect
Module: Stream

Stream.toAsyncIterableRuntime

Converts the stream to a AsyncIterable using the provided runtime.

Signature

declare const toAsyncIterableRuntime: { <A, XR>(runtime: Runtime<XR>): <E, R extends XR>(self: Stream<A, E, R>) => AsyncIterable<A>; <A, E, XR, R extends XR>(self: Stream<A, E, R>, runtime: Runtime<XR>): AsyncIterable<A>; }

Source

Since v3.15.0