frontend/.pnpm-store/v3/files/65/efb445b24d626409360b4e2f6520f1af442f42e78cdc6d8dd739bcd9e2d1bd96e13820f05de3808d8871d08aa031b200fec863dfb61d439ffadff65a3bf349

12 lines
552 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var async_1 = require("../scheduler/async");
var TimeoutError_1 = require("../util/TimeoutError");
var timeoutWith_1 = require("./timeoutWith");
var throwError_1 = require("../observable/throwError");
function timeout(due, scheduler) {
if (scheduler === void 0) { scheduler = async_1.async; }
return timeoutWith_1.timeoutWith(due, throwError_1.throwError(new TimeoutError_1.TimeoutError()), scheduler);
}
exports.timeout = timeout;
//# sourceMappingURL=timeout.js.map