import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/scoped";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/concatAllWith";
/**
 * Makes a channel from a managed that returns a channel in case of success.
 *
 * @tsplus static ets/Channel/Ops unwrapScoped
 */

export function unwrapScoped(self) {
  return tsplus_module_2.concatAllWith(() => tsplus_module_1.scoped(() => self), (d, _) => d, (d, _) => d);
}
//# sourceMappingURL=unwrapScoped.mjs.map