mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 00:43:04 +00:00
8 lines
351 B
JavaScript
8 lines
351 B
JavaScript
import { asyncScheduler } from '../scheduler/async';
|
|
import { audit } from './audit';
|
|
import { timer } from '../observable/timer';
|
|
export function auditTime(duration, scheduler) {
|
|
if (scheduler === void 0) { scheduler = asyncScheduler; }
|
|
return audit(function () { return timer(duration, scheduler); });
|
|
}
|
|
//# sourceMappingURL=auditTime.js.map
|