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
Consider any-promise
.
#3
Comments
Why? If you need specific implementation, you can do |
It has a well tested solution for browsers. It avoids Finally, it's just become a hugely popular way to provide customizeable Promise implementations. |
@jamestalmage in readme they say opposite thing – you should not optimize your module code based on specific implementation. From my point of view – best way to customize Promise implementation in application is to set global |
I don't think it's worth doing a breaking change here at this point. Node.js 0.12 is out of active LTS anyways. So it's going away. |
Last argument. |
I'm really impressed with it. However, it throws on Node <= 0.12 if an implementation is not registered.
It might be interesting to make
pinkie-promise
a wrapper aroundany-promise
that loadspinkie
instead of throwing. Likeany-promise
, but it always gives you a promise implementation.The text was updated successfully, but these errors were encountered: