import * as tsplus_module_1 from "@effect/core/stm/STM/operations/replicate";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/collectAllDiscard";
/**
 * Performs this transaction the specified number of times, discarding the
 * results.
 *
 * @tsplus fluent ets/STM replicateSTMDiscard
 */

export function replicateSTMDiscard_(self, n) {
  return tsplus_module_2.collectAllDiscard(() => tsplus_module_1.replicateNow_(self, n));
}
/**
 * Performs this transaction the specified number of times, discarding the
 * results.
 *
 * @tsplus static ets/STM/Aspects replicateSTMDiscard
 */

export const replicateSTMDiscard = n => self => replicateSTMDiscard_(self, n);
//# sourceMappingURL=replicateSTMDiscard.mjs.map