Last active
November 27, 2016 13:56
-
-
Save aleksandar-b/e851d8b668851a435bc7d3a5360184a6 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
var RP = require("request-promise"); | |
async () => { | |
try { | |
var sites = await Promise.all([ | |
RP("http://www.google.com"), | |
RP("http://www.apple.com"), | |
RP("http://www.yahoo.com") | |
]); | |
} catch(e){ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment