mirror of
				https://github.com/fooflington/selfdefined.git
				synced 2025-10-31 06:08:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			719 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			719 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { Observable } from '../Observable';
 | |
| /**
 | |
|  * 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 declare function skipWhile<T>(this: Observable<T>, predicate: (value: T, index: number) => boolean): Observable<T>;
 | 
