Do while

See also

  • Official ReactiveX documentation: DoWhile
Observable.do_while(condition)

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

Keyword arguments: condition – {Function} The condition which determines if the source

will be repeated.

Returns an observable {Observable} sequence which is repeated as long as the condition holds.

../../_images/doWhile.png