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