aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm/internal/operators/delay.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/operators/delay.js')
-rw-r--r--node_modules/rxjs/dist/esm/internal/operators/delay.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/operators/delay.js b/node_modules/rxjs/dist/esm/internal/operators/delay.js
new file mode 100644
index 0000000..2ceb484
--- /dev/null
+++ b/node_modules/rxjs/dist/esm/internal/operators/delay.js
@@ -0,0 +1,8 @@
+import { asyncScheduler } from '../scheduler/async';
+import { delayWhen } from './delayWhen';
+import { timer } from '../observable/timer';
+export function delay(due, scheduler = asyncScheduler) {
+ const duration = timer(due, scheduler);
+ return delayWhen(() => duration);
+}
+//# sourceMappingURL=delay.js.map \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage