Created
March 21, 2018 11:01
-
-
Save olbrichj/0abd883fe14bb4925e52d77fc9241c37 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
fetchPromise().then { value in | |
return fetchPromise2(value) | |
}.then { value in | |
// do something | |
}.catch { error in | |
// error | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment