天天看點

[RxJS] Filtering operators: take, first, skip

There are more operators in the filtering category besides filter(). This lesson will teach how take(), first(), and skip() are simply operators to ignore or pass a certain amount of events from the source Observable.

 take(number):

first():

skip(number): different with take(), it skip the first number of item, and show the rest: