Created
October 1, 2019 19:57
-
-
Save funkyboy/02964fb2ef40c5a9121c35b23ab1790f to your computer and use it in GitHub Desktop.
Unicorn API
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
Result res = fetchThingsFromNetwork() | |
if res.hasError { | |
showError(res.error) | |
return | |
} | |
displayResults(res.data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment