source: trip-planner-front/node_modules/rxjs/_esm2015/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: 356 bytes
Line 
1import { async } from '../scheduler/async';
2import { TimeoutError } from '../util/TimeoutError';
3import { timeoutWith } from './timeoutWith';
4import { throwError } from '../observable/throwError';
5export function timeout(due, scheduler = async) {
6 return timeoutWith(due, throwError(new TimeoutError()), scheduler);
7}
8//# sourceMappingURL=timeout.js.map
Note: See TracBrowser for help on using the repository browser.