97b5dcd6eabe9adbe96ab689975da0d4dd4f112e566ebd03826b53d7675dbe41c3798ebe0496585399b0810c9b1173a4c233120f4205403ab0475449d782c2 356 B

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