Skip to content

Instantly share code, notes, and snippets.

@kypflug
Created September 25, 2015 23:26
Show Gist options
  • Save kypflug/5ece2ca2766c09b3fbf6 to your computer and use it in GitHub Desktop.
Save kypflug/5ece2ca2766c09b3fbf6 to your computer and use it in GitHub Desktop.
// call the async function, wait for the result
// call the async function, wait for the result
let func = async () => await httpGet(url);
return await func();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment