Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

timeout.js 529B

123456789101112
  1. /** PURE_IMPORTS_START _scheduler_async,_util_TimeoutError,_timeoutWith,_observable_throwError PURE_IMPORTS_END */
  2. import { async } from '../scheduler/async';
  3. import { TimeoutError } from '../util/TimeoutError';
  4. import { timeoutWith } from './timeoutWith';
  5. import { throwError } from '../observable/throwError';
  6. export 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