RxSwift: Take Operator
Take(n)
- Emits only the the first
n
elements and ignores everything after.
----7--9-----1--4---->
take(2)
----7--9------------->
< All Posts
Take(n)
n
elements and ignores everything after.----7--9-----1--4---->
take(2)
----7--9------------->