auditTime.js 498 B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.auditTime = void 0;
  4. var async_1 = require("../scheduler/async");
  5. var audit_1 = require("./audit");
  6. var timer_1 = require("../observable/timer");
  7. function auditTime(duration, scheduler) {
  8. if (scheduler === void 0) { scheduler = async_1.asyncScheduler; }
  9. return audit_1.audit(function () { return timer_1.timer(duration, scheduler); });
  10. }
  11. exports.auditTime = auditTime;
  12. //# sourceMappingURL=auditTime.js.map