Repeats source as long as condition holds emulating a while loop. There is an alias for this method called 'whileDo' for browsers <IE9.
condition (Function): The condition which determines if the source will be repeated.
condition
Function
source (Observable): The observable sequence that will be run if the condition function returns true.
source
Observable
(Observable): An observable sequence which is repeated as long as the condition holds.
Last updated 5 years ago