Last active
December 5, 2017 21:47
-
-
Save rmoskal/568c287037c8cd810a2962665b092294 to your computer and use it in GitHub Desktop.
async_harmful_s5
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
function functionalWay2(color) { | |
fetch(color) | |
.then(inspect) | |
.then(JSON.parse) | |
.then(inspect) | |
.then(transformFirst) | |
.then(sendToClient) | |
.then(sendResults => remotelog('log',sendResults)) | |
.catch(err => remotelog('error', err)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment