Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log result of an async handler method by resolving promise if a promise #440

Merged
merged 1 commit into from
Jun 25, 2018

Conversation

phm200
Copy link
Contributor

@phm200 phm200 commented Jun 23, 2018

This PR uses Promise.resolve to handle promise and non-promise results from async handlers and log these results to the console.

See #427 for earlier discussion

Copy link
Contributor

@abetomo abetomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@DeviaVir DeviaVir merged commit 561347a into motdotla:master Jun 25, 2018
@phm200
Copy link
Contributor Author

phm200 commented Jun 25, 2018

Thanks!

Any plans to do a new release to NPM? There are a fair number of changes that are committed, but not available via NPM now

@phm200 phm200 deleted the display-async-result branch June 25, 2018 21:20
@abetomo abetomo mentioned this pull request Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants