Skip to content

Instantly share code, notes, and snippets.

@gocs
Created July 14, 2023 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gocs/e27c1a6a5bcdb0510f6cd668f4e11850 to your computer and use it in GitHub Desktop.
Save gocs/e27c1a6a5bcdb0510f6cd668f4e11850 to your computer and use it in GitHub Desktop.
asynchronous fetch requests
let datas = await Promise.all(
[...Array(pages).keys()].map(async i => await export_data(table, query_params, i, options))
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment