Yields next() for as long as shouldContinue() returns true. The condition is re-checked after the consumer's loop body has run, so state changed by that body decides whether another step starts.
next()
shouldContinue()
Returns false to end the sequence.
Starts one round of async work.
The settled round results, in order.
Yields
next()for as long asshouldContinue()returns true. The condition is re-checked after the consumer's loop body has run, so state changed by that body decides whether another step starts.