Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

timeout.js 356B

12345678
  1. import { async } from '../scheduler/async';
  2. import { TimeoutError } from '../util/TimeoutError';
  3. import { timeoutWith } from './timeoutWith';
  4. import { throwError } from '../observable/throwError';
  5. export function timeout(due, scheduler = async) {
  6. return timeoutWith(due, throwError(new TimeoutError()), scheduler);
  7. }
  8. //# sourceMappingURL=timeout.js.map