-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Switch to Promises instead of callbacks #166
Comments
Promises will make cancelling the XHRs more complicated, since currently, native Promises cannot be canceled. |
What do you mean ? you can "cancel" a Promise with reject. |
You can reject a Promise, but you cannot abort the fetch request without AbortControllers, which is a newer API, and is not supported by IE. |
@BehindTheMath |
|
Along with #109, we should consider switching to use Promises instead of callbacks. Most environments support it by now, and we can use a polyfill for those that don't.
The text was updated successfully, but these errors were encountered: