A better name for this behaviour would be lazy instead of asynchronous.
An async operation generally means stuff happening "behind the scenes/at the same time", while a lazy operation delivers results "on demand", which is the case for the iterators.
A better name for this behaviour would be lazy instead of asynchronous.
An async operation generally means stuff happening "behind the scenes/at the same time", while a lazy operation delivers results "on demand", which is the case for the iterators.
Yeah, lazy evaluation in contrast to eager evaluation.
Thank you!