/** * Returns an effect that forks all of the specified values, and returns a * composite fiber that produces a list of their results, in order. * * @tsplus static effect/core/io/Effect.Ops forkAll */ export function forkAll( effects: Collection> ): Effect>> { return Effect.forEach(effects, (effect) => effect.fork).map((chunk) => Fiber.collectAll(chunk)) }