Rx.Observable.prototype.doWhile(condition)
Repeats source as long as condition holds emulating a do while loop.
参数
condition
(Function
): The condition which determines if the source will be repeated.
返回值
(Observable
): An observable sequence whose observers trigger an invocation of the given observable factory function.