Skip to content

Instantly share code, notes, and snippets.

@kunigami
Created June 15, 2019 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunigami/bd08d7ed18b42078bb82682042a82c48 to your computer and use it in GitHub Desktop.
Save kunigami/bd08d7ed18b42078bb82682042a82c48 to your computer and use it in GitHub Desktop.
fetchSomeStuff(
/* onSuccess*/ function (a) {
fetchSomeStuffDependingOnA(
a,
/* onSuccess */ function (b) {
fetchSomeStuffDependingOnB(
b,
/* onSuccess */ function (c) {
/* Code goes on here */
},
/* onFailure */ function (ex) {
handleException(ex);
}
)
},
/* onFailure */ function (ex) {
handleException(ex);
}
);
},
/* onFailure */ function (ex) {
handleException(ex);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment