Skip to content

Instantly share code, notes, and snippets.

@gotenxds
Created January 19, 2018 21:08
Show Gist options
  • Save gotenxds/12055d90620d42828dafd7eb2b7bdb15 to your computer and use it in GitHub Desktop.
Save gotenxds/12055d90620d42828dafd7eb2b7bdb15 to your computer and use it in GitHub Desktop.
async function rainSomeCatsAndDogs() {
const [dogs, cats] = await Promise.all([getDogs(), getCats()]);
 
await makeItRain(cats, dogs);
openAnimalProffUmbrella();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment