/** * Creates a stream produced from a scoped effect. * * @tsplus static effect/core/stream/Stream.Ops unwrapScoped */ export function unwrapScoped( effect: Effect> ): Stream | R1, E | E1, A> { return Stream.scoped(effect).flatten }