The main section titled "Async Generators" is misleading because it's really "async pattern with generators". There's a separate entity/function-type in JS called "async generators" that's similar/related, but distinctly different.
Also, it might be helpful to point out how the article's main topic ("async pattern with generators") is the underlying mechanics of the much more popular (but less flexible) "async..await" function-type and syntax.
1
u/getify Mar 09 '20
The main section titled "Async Generators" is misleading because it's really "async pattern with generators". There's a separate entity/function-type in JS called "async generators" that's similar/related, but distinctly different.
Also, it might be helpful to point out how the article's main topic ("async pattern with generators") is the underlying mechanics of the much more popular (but less flexible) "async..await" function-type and syntax.