effect-io-ai

Package: effect
Module: Stream

Stream.fromPull

Creates a stream from an effect that pulls elements from another stream.

See Stream.toPull for reference.

Signature

declare const fromPull: <R, R2, E, A>(effect: Effect.Effect<Effect.Effect<Chunk.Chunk<A>, Option.Option<E>, R2>, never, Scope.Scope | R>) => Stream<A, E, R2 | Exclude<R, Scope.Scope>>

Source

Since v2.0.0