import * as tsplus_module_1 from "@effect/core/stream/Stream/operations/runIntoQueueScoped";
/**
 * Like `Stream.runIntoHub`, but provides the result as a scoped effect to
 * allow for scope composition.
 *
 * @tsplus fluent ets/Stream runIntoHubScoped
 */

export function runIntoHubScoped_(self, hub, __tsplusTrace) {
  return tsplus_module_1.runIntoQueueScoped_(self, hub, __tsplusTrace);
}
/**
 * Like `Stream.runIntoHub`, but provides the result as a scoped effect to
 * allow for scope composition.
 *
 * @tsplus static ets/Stream/Aspects runIntoHubScoped
 */

export const runIntoHubScoped = (hub, __tsplusTrace) => self => runIntoHubScoped_(self, hub, __tsplusTrace);
//# sourceMappingURL=runIntoHubScoped.mjs.map