Finish this sentence: I would use native promises (instead of bluebird, RSVP) if only they _________.
there is no one reliable convention. The callback convention is implemented wrong (cb called multiple times, wrong order) often
-
-
and XHR isn't even close to a standard callback pattern (nor IDB)
-
btw there are way more than just fetch using promises: animation, quota management, web midi, streams, font load, etc etc etc
-
quota window.webkitStorageInfo.requestQuota(type, sz, function cb() {}, function cb() {});
-
callback APIs exist but not standard. Can't promisify (or use async lib) with that. Can use Promise.all with the promise version.
-
i dont doubt it CAN be expressed by promise in new std. but why having 2 conventions is better that having 1 subpar convention?
-
having a legacy API and a new reliable API is much, much better than sticking with a subpar API.
-
btw, do you track angular2 progress? they are claming reactive streams better than promises (cancellable, multiple responses).true?
-
I disagree (rather strongly) for single values. I predict they'll change their mind.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.