Rx.Observable.prototype.doWhile(condition)

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

Arguments

  1. condition (Function): The condition which determines if the source will be repeated.

Returns

(Observable): An observable sequence whose observers trigger an invocation of the given observable factory function.

Example