/** * Like `Stream.runIntoHub`, but provides the result as a scoped effect to * allow for scope composition. * * @tsplus static effect/core/stream/Stream.Aspects runIntoHubScoped * @tsplus pipeable effect/core/stream/Stream runIntoHubScoped */ export function runIntoHubScoped(hub: Hub>) { return (self: Stream): Effect => self.runIntoQueueScoped(hub) }