Sha256: 6532b8750c6ae44a38c0afe61a6d206f283f701c5c974fb5ee3350e3af97af47
Contents?: true
Size: 821 Bytes
Versions: 49
Compression:
Stored size: 821 Bytes
Contents
import { Observable } from '../Observable'; 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<T>(this: Observable<T>, predicate: (value: T, index: number) => boolean): Observable<T> { return higherOrder(predicate)(this); }
Version data entries
49 entries across 49 versions & 4 rubygems