import * as tsplus_module_1 from "@effect/core/io/Effect/operations/succeed";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/repeatEffectWithSchedule";
/**
 * Repeats the value using the provided schedule.
 *
 * @tsplus static ets/Stream/Ops repeatWithSchedule
 */

export function repeatWithSchedule(a, schedule, __tsplusTrace) {
  return tsplus_module_2.repeatEffectWithSchedule(() => tsplus_module_1.succeed(a, __tsplusTrace), schedule, __tsplusTrace);
}
//# sourceMappingURL=repeatWithSchedule.mjs.map