frontend/.pnpm-store/v3/files/27/d0d459518f6b65b986bac6c999e623f4b11c98f02a30d1cf2125b8cc6fd56fea59489dfa06d594c9c54f89f684803def8941823c3c945300b616de438d1267

36 lines
1.1 KiB
Plaintext

import { MonoTypeOperatorFunction } from '../types';
/**
* Returns an Observable that skips the first `count` items emitted by the source Observable.
*
* ![](skip.png)
*
* Skips the values until the sent notifications are equal or less than provided skip count. It raises
* an error if skip count is equal or more than the actual number of emits and source raises an error.
*
* ## Example
*
* Skip the values before the emission
*
* ```ts
* import { interval, skip } from 'rxjs';
*
* // emit every half second
* const source = interval(500);
* // skip the first 10 emitted values
* const result = source.pipe(skip(10));
*
* result.subscribe(value => console.log(value));
* // output: 10...11...12...13...
* ```
*
* @see {@link last}
* @see {@link skipWhile}
* @see {@link skipUntil}
* @see {@link skipLast}
*
* @param {Number} count - The number of times, items emitted by source Observable should be skipped.
* @return A function that returns an Observable that skips the first `count`
* values emitted by the source Observable.
*/
export declare function skip<T>(count: number): MonoTypeOperatorFunction<T>;
//# sourceMappingURL=skip.d.ts.map