19 lines
805 B
JavaScript
Executable File
19 lines
805 B
JavaScript
Executable File
/** PURE_IMPORTS_START .._operators_skipWhile PURE_IMPORTS_END */
|
|
import { skipWhile as higherOrder } from '../operators/skipWhile';
|
|
/**
|
|
* 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.
|
|
*
|
|
* <img src="./img/skipWhile.png" width="100%">
|
|
*
|
|
* @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 function skipWhile(predicate) {
|
|
return higherOrder(predicate)(this);
|
|
}
|
|
//# sourceMappingURL=skipWhile.js.map
|