天天看点

rxjs里takeWhile operators的用法

rxjs里takeWhile operators的用法

takeWhile subscribes and begins mirroring the source Observable. Each value emitted on the source is given to the predicate function which returns a boolean, representing a condition to be satisfied by the source values. The output Observable emits the source values until such time as the predicate returns false, at which point takeWhile stops mirroring the source Observable and completes the output Observable.

rxjs里takeWhile operators的用法
rxjs里takeWhile operators的用法
rxjs里takeWhile operators的用法

继续阅读