Re:Why Would Anyone Need JavaScript Generator Functions?
by heavyset_go on Monday November 07, 2022 @05:56PM
(#33513711)
Generators are great for building and consuming lazy iterators, and for building pipelines of lazy iterators. Lazy evaluation in pipelines can interweave work and can be more efficient than immediate evaluation.
[ Parent
| on HN ]
There are no comments on this comment yet.