skip
연산자(operator) 정의: skip(the: Number): Observable
Skip the provided number of emitted values.
Examples
Example 1: Skipping values before emission
//emit every 1s
const source = Rx.Observable.interval(1000);
//skip the first 5 emitted values
const example = source.skip(5);
//output: 5...6...7...8........
const subscribe = example.subscribe(val => console.log(val));
Additional Resources
- skip - Official docs
- Filtering operator: take, first, skip - André Staltz
Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/operator/skip.ts