2022-01-21 08:28:41 +00:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2022-06-08 10:36:39 +00:00
|
|
|
exports.auditTime = void 0;
|
2022-01-21 08:28:41 +00:00
|
|
|
var async_1 = require("../scheduler/async");
|
|
|
|
var audit_1 = require("./audit");
|
|
|
|
var timer_1 = require("../observable/timer");
|
|
|
|
function auditTime(duration, scheduler) {
|
2022-06-08 10:36:39 +00:00
|
|
|
if (scheduler === void 0) { scheduler = async_1.asyncScheduler; }
|
2022-01-21 08:28:41 +00:00
|
|
|
return audit_1.audit(function () { return timer_1.timer(duration, scheduler); });
|
|
|
|
}
|
|
|
|
exports.auditTime = auditTime;
|
|
|
|
//# sourceMappingURL=auditTime.js.map
|