Created
January 5, 2018 14:15
-
-
Save ktilcu/0a23ddfe831b0c7e626bc5dd5fba1d6b 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
| const Promise = require('bluebird') | |
| const makeRequest = () => { | |
| const p1 = promise1() | |
| const p2 = p1.then(promise2) | |
| return Promise | |
| .join(p1,p2) | |
| .then(promise3) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment