Last active
July 3, 2017 23:50
-
-
Save paulbreslin/634a26cd990ffd263b06c737c3110a3a to your computer and use it in GitHub Desktop.
This file contains 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
const example = require('example-library'); | |
const runDemo = async () => { | |
const fistResponse = await example.firstAsyncRequest(); | |
const secondResponse = await example.secondAsyncRequest(fistResponse); | |
const thirdAsyncRequest = await example.thirdAsyncRequest(secondResponse); | |
}; | |
runDemo(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment