Last active
March 19, 2018 09:32
-
-
Save puemos/88af24c14c2b456de6ddf397f1ffd31f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function publishAll() { | |
const [payments, invoices, receipts] = await Promise.all([ | |
getPayments(), | |
getInvoices(), | |
getReceipts() | |
]); | |
// do stuff with that | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment