There is already this:
for await (bar of foo) { }
Useful if you have an array of promises you want to handle sequentially. for await (bar of foo) { }
Useful if you have an array of promises you want to handle sequentially.