You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sends elements to the returned channel until predicate is satisfied.
Note that if the predicate fails then subsequent elements are not longer
taken even if they could still satisfy it. Example:
Source.empty[Int].takeWhile(_ > 3).toList // List()
Source.fromValues(1, 2, 3).takeWhile(_ < 3).toList // List(1, 2)
Source.fromValues(3, 2, 1).takeWhile(_ < 3).toList // List()
0 commit comments