frontend/.pnpm-store/v3/files/3f/97b5dcd6eabe9adbe96ab689975da0d4dd4f112e566ebd03826b53d7675dbe41c3798ebe0496585399b0810c9b1173a4c233120f4205403ab0475449d782c2

8 lines
356 B
Plaintext

import { async } from '../scheduler/async';
import { TimeoutError } from '../util/TimeoutError';
import { timeoutWith } from './timeoutWith';
import { throwError } from '../observable/throwError';
export function timeout(due, scheduler = async) {
return timeoutWith(due, throwError(new TimeoutError()), scheduler);
}
//# sourceMappingURL=timeout.js.map