/** * @tsplus static effect/core/stream/Channel.Ops fromHub */ export function fromHub( hub: Hub, Elem>> ): Channel { return Channel.unwrapScoped(hub.subscribe.map((queue) => Channel.fromQueue(queue))) }