Rx.Observable.prototype.doWhile(condition)

doWhile

Repeats source as long as condition holds emulating a do while loop.

参数

  1. 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.