// ets_tracing: off import * as Fiber from "../Fiber/index.js" import type { Effect } from "./effect.js" import { ensuringChildren_ } from "./ensuringChildren.js" /** * Returns a new effect that will not succeed with its value before first * waiting for the end of all child fibers forked by the effect. */ export function awaitAllChildren( fa: Effect, __trace?: string ): Effect { return ensuringChildren_(fa, Fiber.waitAll, __trace) }