summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/exhaust.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/exhaust.ts')
-rw-r--r--tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/exhaust.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/exhaust.ts b/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/exhaust.ts
index 91683f62f9..155e534f13 100644
--- a/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/exhaust.ts
+++ b/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/exhaust.ts
@@ -29,6 +29,9 @@ export function exhaust<R>(): OperatorFunction<any, R>;
* ## Example
* Run a finite timer for each click, only if there is no currently active timer
* ```javascript
+ * import { fromEvent, interval } from 'rxjs';
+ * import { exhaust, map, take } from 'rxjs/operators';
+ *
* const clicks = fromEvent(document, 'click');
* const higherOrder = clicks.pipe(
* map((ev) => interval(1000).pipe(take(5))),