effect-io-ai

Package: effect
Module: Stream

Stream.repeatEffectChunkOption

Creates a stream from an effect producing chunks of A values until it fails with None.

Signature

declare const repeatEffectChunkOption: <A, E, R>(effect: Effect.Effect<Chunk.Chunk<A>, Option.Option<E>, R>) => Stream<A, E, R>

Source

Since v2.0.0