import * as tsplus_module_1 from "@effect/core/io/Schedule/operations/identity";
import * as tsplus_module_2 from "@effect/core/io/Schedule/operations/whileInput";
/**
 * A schedule that recurs for as long as the predicate is equal to the
 * specified value.
 *
 * @tsplus static ets/Schedule/Ops recurWhileEquals
 */

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