skipUntil
연산자(operator) 정의: skipUntil(the: Observable): Observable
Skip emitted values from source until provided observable emits.
Examples
Example 1: Skip until observable emits
//emit every 1s
const source = Rx.Observable.interval(1000);
//skip emitted values from source until inner observable emits (6s)
const example = source.skipUntil(Rx.Observable.timer(6000));
//output: 5...6...7...8........
const subscribe = example.subscribe(val => console.log(val));
Additional Resources
- skipUntil - Official docs
Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/operator/skipUntil.ts