Skip to content

Instantly share code, notes, and snippets.

@gotenxds
Created January 19, 2018 21:06
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 gotenxds/b95736ec7ce5150a94523ec8e585f5e0 to your computer and use it in GitHub Desktop.
Save gotenxds/b95736ec7ce5150a94523ec8e585f5e0 to your computer and use it in GitHub Desktop.
async function rainSomeCatsAndDogs() {
const [dogs, cats] = await Promise.all([getDogs(), getCats()]);
 
await makeItRain(cats, dogs);
await openAnimalProffUmbrella();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment