Coroutines, asynchronous and iterative

from blog Blogs on Without boats, dreams dry up, | ↗ original
I wanted to follow up my previous post with a small note elaborating on the use of coroutines for asynchrony and iteration from a more abstract perspective. I realized the point I made about AsyncIterator being the product of Iterator and Future makes a bit more sense if you also consider the “base case” - a block of code that is neither...