tc39 / proposal-cancelable-promises

Former home of the now-withdrawn cancelable promises proposal for JavaScript
Other
375 stars 29 forks source link

A polyfill is really difficult to create with HostPromiseResolutionTracker() ignoring cancel rejections #65

Closed dead-claudia closed 7 years ago

dead-claudia commented 7 years ago

See discussion in this core-js issue for more details. Basically, it will be very difficult to polyfill without invoking HostPromiseResolutionTracker() with "reject" for cancels, especially when there's a catch handler.