/** * Creates a stream from an effect producing a value of type `A` * * @tsplus static effect/core/stream/Stream.Ops fromEffect */ export function fromEffect(effect: Effect): Stream { return Stream.fromEffectMaybe(effect.mapError(Maybe.some)) }