effect-io-ai

Package: effect
Module: Stream

Stream.fromEffectOption

Creates a stream from an effect producing a value of type A or an empty Stream.

Signature

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

Source

Since v2.0.0