aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm5/internal/operators/sampleTime.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm5/internal/operators/sampleTime.js')
-rw-r--r--node_modules/rxjs/dist/esm5/internal/operators/sampleTime.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm5/internal/operators/sampleTime.js b/node_modules/rxjs/dist/esm5/internal/operators/sampleTime.js
new file mode 100644
index 0000000..8be13a0
--- /dev/null
+++ b/node_modules/rxjs/dist/esm5/internal/operators/sampleTime.js
@@ -0,0 +1,8 @@
+import { asyncScheduler } from '../scheduler/async';
+import { sample } from './sample';
+import { interval } from '../observable/interval';
+export function sampleTime(period, scheduler) {
+ if (scheduler === void 0) { scheduler = asyncScheduler; }
+ return sample(interval(period, scheduler));
+}
+//# sourceMappingURL=sampleTime.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