Created
July 11, 2017 21:04
-
-
Save gskachkov/9d4f793faab9b30d78e0e9fe04aef189 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 getOrder1(id) { | |
return _http.get('some/path'+1); | |
} | |
async function getOrder2(id) { | |
return _http.get('some/path'+1); | |
} | |
async function flow(id) { | |
const someValue = await getOrder1(id); | |
const result = await getOrder2(someValue); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment