import * as tsplus_module_1 from "@effect/core/io/Schedule/operations/fold";
/**
 * Returns a new schedule that outputs the number of repetitions of this one.
 *
 * @tsplus getter ets/Schedule repetitions
 * @tsplus getter ets/Schedule/WithState repetitions
 */

export function repetitions(self) {
  return tsplus_module_1.fold_(self, 0, (n, _) => n + 1);
}
//# sourceMappingURL=repetitions.mjs.map