katoikia-app/web-ui/web-react/node_modules/rxjs/internal/operators/skipWhile.d.ts

15 lines
695 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import { MonoTypeOperatorFunction } from '../types';
/**
* Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds
* true, but emits all further source items as soon as the condition becomes false.
*
* ![](skipWhile.png)
*
* @param {Function} predicate - A function to test each item emitted from the source Observable.
* @return {Observable<T>} An Observable that begins emitting items emitted by the source Observable when the
* specified predicate becomes false.
* @method skipWhile
* @owner Observable
*/
export declare function skipWhile<T>(predicate: (value: T, index: number) => boolean): MonoTypeOperatorFunction<T>;