import * as tsplus_module_1 from "@tsplus/stdlib/data/Function";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/forEachDiscard";
/**
 * Collects all the transactional effects, returning a single transactional
 * effect that produces `Unit`.
 *
 * Equivalent to `collectAll(i).unit`, but without the cost of building the
 * list of results.
 *
 * @tsplus static ets/STM/Ops collectAllDiscard
 */

export function collectAllDiscard(as) {
  return tsplus_module_2.forEachDiscard(as, tsplus_module_1.identity);
}
//# sourceMappingURL=collectAllDiscard.mjs.map