Skip to content

Instantly share code, notes, and snippets.

@pionize

pionize/.js Secret

Created April 27, 2017 08:22
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 pionize/f2f407459c3cf89ee28a2eb5eb69a1d5 to your computer and use it in GitHub Desktop.
Save pionize/f2f407459c3cf89ee28a2eb5eb69a1d5 to your computer and use it in GitHub Desktop.
getUserByName('andrew').then(function (user) {
return getUserAccountById(user.id);
}).then(function (userAccount) {
// hmm, I need the "user" object here!
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment