/** * Publishes elements of this stream to a hub. Stream failure and ending will * also be signalled. * * @tsplus static effect/core/stream/Stream.Aspects runIntoHub * @tsplus pipeable effect/core/stream/Stream runIntoHub */ export function runIntoHub(hub: Hub>) { return (self: Stream): Effect => self.runIntoQueue( hub ) }