-
-
Notifications
You must be signed in to change notification settings - Fork 543
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 PromiseValue
type
#75
Conversation
@fregante How about now? |
Looks better. How about we drop the asyncFunction mention though? This would let the user focus on this type and nothing else. |
Do you mean the |
I meant As discussed earlier, it seems that every example of PromiseValue is exactly that Is it the case? Can you have an example of |
Thanks for your comment, @fregante. I'll say thanks for your contribution, however I'd still like to see this Promise-unpacking type implemented as a separate module to the variant that unpacks the return value from functions. Moreover, I still believe this type has uses on its own. Thank you for mentioning the |
Right, I’m not disagreeing, I’m just asking to show a real use in the examples as well. |
/cc @fregante |
Looking good? |
Looks good 👍 |
Thanking you. How about we go for |
👍 |
Let's do it. |
Boom.
Closes #42.