aboutsummaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferTime.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferTime.ts')
-rw-r--r--tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferTime.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferTime.ts b/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferTime.ts
index ffe59dd687..50099d3baa 100644
--- a/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferTime.ts
+++ b/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/bufferTime.ts
@@ -34,6 +34,9 @@ export function bufferTime<T>(bufferTimeSpan: number, bufferCreationInterval: nu
* Every second, emit an array of the recent click events
*
* ```javascript
+ * import { fromEvent } from 'rxjs';
+ * import { bufferTime } from 'rxjs/operators';
+ *
* const clicks = fromEvent(document, 'click');
* const buffered = clicks.pipe(bufferTime(1000));
* buffered.subscribe(x => console.log(x));
@@ -42,6 +45,9 @@ export function bufferTime<T>(bufferTimeSpan: number, bufferCreationInterval: nu
* Every 5 seconds, emit the click events from the next 2 seconds
*
* ```javascript
+ * import { fromEvent } from 'rxjs';
+ * import { bufferTime } from 'rxjs/operators';
+ *
* const clicks = fromEvent(document, 'click');
* const buffered = clicks.pipe(bufferTime(2000, 5000));
* buffered.subscribe(x => console.log(x));