import * as tsplus_module_1 from "@effect/core/stream/Sink/operations/fromQueueWithShutdown";
/**
 * Create a sink which publishes each element to the specified hub. The hub
 * will be shutdown once the stream is closed.
 *
 * @tsplus static ets/Sink/Ops fromHubWithShutdown
 */

export function fromHubWithShutdown(hub, __tsplusTrace) {
  return tsplus_module_1.fromQueueWithShutdown(hub, __tsplusTrace);
}
//# sourceMappingURL=fromHubWithShutdown.mjs.map