"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/bf249e6efb5b097f23d7e21d7283429f0760b740/node_modules/rxjs/dist/cjs/internal/observable/interval.js.map