Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- axios.all([getUserAccount(), getUserPermissions()])
- .then(axios.spread(function (acct, perms) {
- // Both requests are now complete
- }));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement