/** * Creates a stream from an effect producing values of type `A` until it fails * with `None`. * * @tsplus static effect/core/stream/Stream.Ops repeatEffectMaybe */ export function repeatEffectMaybe(effect: Effect, A>): Stream { return Stream.repeatEffectChunkMaybe(effect.map(Chunk.single)) }