11 lines
461 B
JavaScript
11 lines
461 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
var async_1 = require("../scheduler/async");
|
||
|
var audit_1 = require("./audit");
|
||
|
var timer_1 = require("../observable/timer");
|
||
|
function auditTime(duration, scheduler) {
|
||
|
if (scheduler === void 0) { scheduler = async_1.async; }
|
||
|
return audit_1.audit(function () { return timer_1.timer(duration, scheduler); });
|
||
|
}
|
||
|
exports.auditTime = auditTime;
|
||
|
//# sourceMappingURL=auditTime.js.map
|