-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Improve 'promise' mode with thenInjection
option
#60
Comments
I just suffered from With bluebird one can use http://bluebirdjs.com/docs/api/reflect.html in order to find the resolved value without side effects. Above was a reply to #59 (comment) |
@Rush Just setup memoization with |
@Rush I've improved internal handling, so now by default when using Bluebird |
@medikoo thank you! exciting |
/cc @Kovensky
If used implementation doesn't implement
done
andfinally
then it's not possible to do both:The workaround could be, to provide a special mode for promise handling, in which user will agree that memoized function will return extended promise from original and not exactly one returned by original function.
The text was updated successfully, but these errors were encountered: