News for hackers. Stuff that matters.
Re:Show HN: New async JavaScript paradime with async generat... by brn27 on Tuesday June 27, 2017 @02:10AM (#14642891)
for-await loop behavior is bit complex, but roughly, it's like async await functionality. So, for-await loop wait promise step by step, and if await keyword exists in loop body, wait too. So it's looks like synchronous from inside of async function, but behave as asynchronous promise at outside of async function.

There are no comments on this comment yet.