We're a place where coders share, stay up-to-date and grow their careers.
Then, in the style of my other answer:
async function getAllFooBar() { const all = [] for await (const foo of getPaged('foo')) for await (const x of getPaged('bar', foo)) all.push(x) return all }
Yep. That looks great. thanks.
Then, in the style of my other answer:
Yep. That looks great. thanks.