// ets_tracing: off import type * as E from "../../../../Either/index.js" import type * as Ex from "../../../../Exit/index.js" import * as H from "../../../../Hub/index.js" import type * as C from "../core.js" import * as ToQueue from "./toQueue.js" export function toHub( hub: H.Hub, Elem>> ): C.Channel { return ToQueue.toQueue(H.toQueue(hub)) }