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 | |
---|
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 |
---|
Note:
See
TracBrowser
for help on using the repository browser.