source: trip-planner-front/node_modules/rxjs/_esm5/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: 529 bytes
Line 
1/** PURE_IMPORTS_START _scheduler_async,_util_TimeoutError,_timeoutWith,_observable_throwError PURE_IMPORTS_END */
2import { async } from '../scheduler/async';
3import { TimeoutError } from '../util/TimeoutError';
4import { timeoutWith } from './timeoutWith';
5import { throwError } from '../observable/throwError';
6export function timeout(due, scheduler) {
7 if (scheduler === void 0) {
8 scheduler = async;
9 }
10 return timeoutWith(due, throwError(new TimeoutError()), scheduler);
11}
12//# sourceMappingURL=timeout.js.map
Note: See TracBrowser for help on using the repository browser.