-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Use native Promises #9660
Comments
benchmarks still tend to show bluebird as performing better than native promises: https://gist.github.com/joseluisq/a87adfd46d86d82ba787919a062f6e36 |
The recent comments there seem to say native is fastest...? |
I somehow completely missed that, also stated in the bluebird README:
|
fwiw we do use the cancellation features of bluebird in the js-sdk |
yup, cancellation features are used for cancelling file uploads iirc |
Hmm, I don't think I am seeing obvious calls to |
Cancellations are the least of what we use. Things like Deferreds, mapSeries etc are simple to transition |
react-sdk changes have landed, js-sdk and riot-web due. |
Fixxxxxed :D |
All of our supported browsers (as well as Node.js) have supported native Promises for a while. We should remove userland Promise libs (like
bluebird
) and convert to native instead.The text was updated successfully, but these errors were encountered: