"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.interval = void 0;
const async_js_1 = require("../scheduler/async.js");
const timer_js_1 = require("./timer.js");
function interval(period = 0, scheduler = async_js_1.asyncScheduler) {
    if (period < 0) {
        period = 0;
    }
    return (0, timer_js_1.timer)(period, period, scheduler);
}
exports.interval = interval;//# sourceMappingURL=http://go/sourcemap/sourcemaps/cd1c87ff9b66021918fb9731605f8d1d5fd2f0b0/node_modules/rxjs/dist/cjs/internal/observable/interval.js.map