import { asyncScheduler } from "../scheduler/async.mjs";
import { timer } from "./timer.mjs";

//#region ../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/interval.js
function interval(period, scheduler) {
	if (period === void 0) period = 0;
	if (scheduler === void 0) scheduler = asyncScheduler;
	if (period < 0) period = 0;
	return timer(period, period, scheduler);
}

//#endregion
export { interval };
//# sourceMappingURL=interval.mjs.map