I have an async function that looks like this:
async function foo() { const promises = []; for await (const value