Skip to content

Instantly share code, notes, and snippets.

// Given:
// getFullName(id) => Promise<String>
// getAvatarId(id) => Promise<int>
// getImageById(id) => Promise<String>
// ## Using promises without unnecessary nesting makes it more obvious what
// ## request depend on what other requests (they require async data) and
// ## everything is parallelised by default.
// (Good - parallel) Promises

Keybase proof

I hereby claim:

  • I am theefer on github.
  • I am theefer (https://keybase.io/theefer) on keybase.
  • I have a public key ASDhvIdbKDHAA91vnw3d0ghMvxTndeVN3B1aM5Zy_tqNtgo

To claim this, I am signing this object: