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