wishthis/node_modules/rxjs/dist/cjs/internal/operators/sampleTime.js

12 lines
491 B
JavaScript
Raw Normal View History

2022-04-07 07:06:43 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sampleTime = void 0;
var async_1 = require("../scheduler/async");
var sample_1 = require("./sample");
var interval_1 = require("../observable/interval");
function sampleTime(period, scheduler) {
if (scheduler === void 0) { scheduler = async_1.asyncScheduler; }
return sample_1.sample(interval_1.interval(period, scheduler));
}
exports.sampleTime = sampleTime;
//# sourceMappingURL=sampleTime.js.map