takeWhile method

Observable<T> takeWhile(
  1. Predicate1<T> predicate
)

Emits values while the predicate returns true.

Implementation

Observable<T> takeWhile(Predicate1<T> predicate) =>
    TakeWhileObservable<T>(this, predicate);