summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/rxjs/internal/operators/take.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/rxjs/internal/operators/take.d.ts')
-rw-r--r--tools/node_modules/eslint/node_modules/rxjs/internal/operators/take.d.ts48
1 files changed, 0 insertions, 48 deletions
diff --git a/tools/node_modules/eslint/node_modules/rxjs/internal/operators/take.d.ts b/tools/node_modules/eslint/node_modules/rxjs/internal/operators/take.d.ts
deleted file mode 100644
index 09b6f0d14d..0000000000
--- a/tools/node_modules/eslint/node_modules/rxjs/internal/operators/take.d.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import { MonoTypeOperatorFunction } from '../types';
-/**
- * Emits only the first `count` values emitted by the source Observable.
- *
- * <span class="informal">Takes the first `count` values from the source, then
- * completes.</span>
- *
- * ![](take.png)
- *
- * `take` returns an Observable that emits only the first `count` values emitted
- * by the source Observable. If the source emits fewer than `count` values then
- * all of its values are emitted. After that, it completes, regardless if the
- * source completes.
- *
- * ## Example
- * Take the first 5 seconds of an infinite 1-second interval Observable
- * ```javascript
- * import { interval } from 'rxjs';
- * import { take } from 'rxjs/operators';
- *
- * const intervalCount = interval(1000);
- * const takeFive = intervalCount.pipe(take(5));
- * takeFive.subscribe(x => console.log(x));
- *
- * // Logs:
- * // 0
- * // 1
- * // 2
- * // 3
- * // 4
- * ```
- *
- * @see {@link takeLast}
- * @see {@link takeUntil}
- * @see {@link takeWhile}
- * @see {@link skip}
- *
- * @throws {ArgumentOutOfRangeError} When using `take(i)`, it delivers an
- * ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0`.
- *
- * @param {number} count The maximum number of `next` values to emit.
- * @return {Observable<T>} An Observable that emits only the first `count`
- * values emitted by the source Observable, or all of the values from the source
- * if the source emits fewer than `count` values.
- * @method take
- * @owner Observable
- */
-export declare function take<T>(count: number): MonoTypeOperatorFunction<T>;