take method

Observable<T> take([
  1. int count = 1
])

Emits the first count values before completing.

Implementation

Observable<T> take([int count = 1]) => TakeObservable<T>(this, count);