import * as tsplus_module_1 from "@effect/core/io/Fiber/operations/interruptAll";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/ensuringChildren";
/**
 * Returns a new effect that will not succeed with its value before first
 * interrupting all child fibers forked by the effect.
 *
 * @tsplus fluent ets/Effect interruptAllChildren
 */

export function interruptAllChildren(self, __tsplusTrace) {
  return tsplus_module_2.ensuringChildren_(self, chunk => tsplus_module_1.interruptAll(chunk, __tsplusTrace), __tsplusTrace);
}
//# sourceMappingURL=interruptAllChildren.mjs.map