source: trip-planner-front/node_modules/rxjs/internal/operators/timeout.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 552 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var async_1 = require("../scheduler/async");
4var TimeoutError_1 = require("../util/TimeoutError");
5var timeoutWith_1 = require("./timeoutWith");
6var throwError_1 = require("../observable/throwError");
7function timeout(due, scheduler) {
8 if (scheduler === void 0) { scheduler = async_1.async; }
9 return timeoutWith_1.timeoutWith(due, throwError_1.throwError(new TimeoutError_1.TimeoutError()), scheduler);
10}
11exports.timeout = timeout;
12//# sourceMappingURL=timeout.js.map
Note: See TracBrowser for help on using the repository browser.