1 import { MonoTypeOperatorFunction } from '../types';
3 * Skip the last `count` values emitted by the source Observable.
7 * `skipLast` returns an Observable that accumulates a queue with a length
8 * enough to store the first `count` values. As more values are received,
9 * values are taken from the front of the queue and produced on the result
10 * sequence. This causes values to be delayed.
13 * Skip the last 2 values of an Observable with many values
15 * import { range } from 'rxjs';
16 * import { skipLast } from 'rxjs/operators';
18 * const many = range(1, 5);
19 * const skipLastTwo = many.pipe(skipLast(2));
20 * skipLastTwo.subscribe(x => console.log(x));
27 * @see {@link skipUntil}
28 * @see {@link skipWhile}
31 * @throws {ArgumentOutOfRangeError} When using `skipLast(i)`, it throws
32 * ArgumentOutOrRangeError if `i < 0`.
34 * @param {number} count Number of elements to skip from the end of the source Observable.
35 * @returns {Observable<T>} An Observable that skips the last count values
36 * emitted by the source Observable.
40 export declare function skipLast<T>(count: number): MonoTypeOperatorFunction<T>;