Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remote data call cache
var promise = remoteDataCall();
promise.then(function (result) {});
promise.then(function (result) {});
// Same result as above without executing `remoteDataCall` again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment