// ets_tracing: off import * as H from "../../../Hub/index.js" import type * as C from "./core.js" import * as FromQueue from "./fromQueue.js" /** * Create a sink which enqueues each element into the specified queue. */ export function fromHub( hub: H.XHub ): C.Sink { return FromQueue.fromQueue(H.toQueue(hub)) }