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

Add a helpful usage example to the Promise.resolve docs. #1492

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YPCrumble
Copy link

Thanks for building this library! I'm new to Bluebird and a little new to Promises. I'm hoping that this PR will help others like me better understand the documentation.

I became confused while reading the documentation of Promise.resolve because I wasn't sure what the function defined in the example would return. I'm pretty sure this PR correctly shows a (very simple) use case.

Please let me know if I can do anything to improve or correct the example I've given!

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.

None yet

1 participant