Skip to content

Instantly share code, notes, and snippets.

@Abazhenov
Last active April 23, 2017 16:48
Show Gist options
  • Save Abazhenov/61afa9823a5c2c954b7add8ec91c2d78 to your computer and use it in GitHub Desktop.
Save Abazhenov/61afa9823a5c2c954b7add8ec91c2d78 to your computer and use it in GitHub Desktop.
const associateUsers = () => {
try {
doSynchronousThings()
return getUsers()
.then(users => users.map(user => user.getAddress()));
.catch(e => console.error(e))
} catch(err){
console.error(err)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment