Skip to content

Instantly share code, notes, and snippets.

@danieltorscho
Last active October 1, 2022 04:55
Show Gist options
  • Save danieltorscho/082c3e872c290be1543fa271a9ccd106 to your computer and use it in GitHub Desktop.
Save danieltorscho/082c3e872c290be1543fa271a9ccd106 to your computer and use it in GitHub Desktop.
myArray = await Promise.all(
myArray.map(async item => {
return await axios.get('https://url)
})
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment