-
Notifications
You must be signed in to change notification settings - Fork 149
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
Is .Done() equal to JS .finally()? #22
Comments
There is an open pull request for Finally() support: #20 |
Does anyone actually have a spec for how Finally should work? |
The bluebird library has some good explanation about the behavior (http://bluebirdjs.com/docs/api/finally.html). Some core points:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've read through the source and don't think .Done(resolved, rejected) is equal to JavaScript's .finally(), is that correct? I know that .finally() is not officially in the spec, but almost all non-native Promise implementations offer the functionality and I think it'd be quite useful for game-development purposes as well.
In that case, would you mind adding a .Finally(Action) method? I'll see if I can create a pull request myself if it's not already on your agenda.
Best Regards
Philipp
The text was updated successfully, but these errors were encountered: