13 lines
620 B
TypeScript
13 lines
620 B
TypeScript
import { Observable } from '../Observable';
|
|
/**
|
|
* Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item.
|
|
*
|
|
* <img src="./img/skipUntil.png" width="100%">
|
|
*
|
|
* @param {Observable} the second Observable that has to emit an item before the source Observable's elements begin to
|
|
* be mirrored by the resulting Observable.
|
|
* @returns {Observable<T>} an Observable that skips items from the source Observable until the second Observable emits
|
|
* an item, then emits the remaining items.
|
|
*/
|
|
export declare function skipUntil<T>(notifier: Observable<any>): Observable<T>;
|