import * as tsplus_module_1 from "@effect/core/io/Schedule/operations/identity";
import * as tsplus_module_2 from "@effect/core/io/Schedule/operations/untilInput";
/**
 * A schedule that recurs for until the predicate is equal.
 *
 * @tsplus static ets/Schedule/Ops recurUntilEquals
 */

export function recurUntilEquals(E) {
  return a => tsplus_module_2.untilInput_(tsplus_module_1.identity(), _ => E.equals(_, a));
}
//# sourceMappingURL=recurUntilEquals.mjs.map