import * as tracing_1 from "../../Tracing"
import * as tracing_2 from "../../Tracing"
const fileName_1 = "(@effect-ts/system): _src/Stream/Stream/intoHubManaged.ts"
import * as H from "../../Hub"
import { intoManaged_ } from "./intoManaged"
/**
 * Like `Stream#intoHub`, but provides the result as a `Managed` to allow for scope
 * composition.
 */

export function intoHubManaged_(self, hub) {
  return intoManaged_(self, H.toQueue(hub))
}
/**
 * Like `Stream#intoHub`, but provides the result as a `Managed` to allow for scope
 * composition.
 */

export function intoHubManaged(hub) {
  return (self) => intoHubManaged_(self, hub)
}
//# sourceMappingURL=intoHubManaged.js.map
