RxJS takeWhile, mas inclui o último valor. Eu tenho um pipeline RxJS5 se parece com isso. Rx.Observable.from([2, 3, 4, 5, 6]) .takeWhile((v) => { v !== 4 }).
確定! 回上一頁