"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sampleTime = void 0;
const async_js_1 = require("../scheduler/async.js");
const sample_js_1 = require("./sample.js");
const interval_js_1 = require("../observable/interval.js");
function sampleTime(period, scheduler = async_js_1.asyncScheduler) {
    return (0, sample_js_1.sample)((0, interval_js_1.interval)(period, scheduler));
}
exports.sampleTime = sampleTime;