Closed samcov closed 7 years ago
I didn't see any examples using a for loop. Is it as simple as wrapping the for loop as below,
var foo = async (function() { for(var i=0; i < 10; i++) { var v= await (doSomething(30)); } });
@samcov yes, that looks right.
Thanks, we need this on older Node versions that we can't upgrade.
I didn't see any examples using a for loop. Is it as simple as wrapping the for loop as below,