takeWhile method

Observable<T> takeWhile(
  1. Predicate1<T> predicate, {
  2. bool inclusive = false,
})

Emits values while the predicate returns true.

Implementation

Observable<T> takeWhile(Predicate1<T> predicate, {bool inclusive = false}) =>
    TakeWhileObservable<T>(this, predicate, inclusive);