tc39 / proposal-cancelable-promises

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

Disinterest #26

Closed martinthomson closed 8 years ago

martinthomson commented 8 years ago

Is there a good rebuttal to the disinterest proposal?

i.e., something like unthen or uncatch whereby code that was to run after resolution/reject could simply be ignored.

bergus commented 8 years ago

I'm not sure what you mean by "the disinterest proposal", do you have a link? (Did I miss something?) However my proposal in #19 is based on exactly this premise, where one can signal disinterest in the execution of then callbacks by cancelling the respective tokens.

domenic commented 8 years ago

I don't really understand what this is referring to either. Regardless, it doesn't seem to be an issue with this repository's proposal (the one accepted by TC39 to stage 1), so I'm going to close it since it doesn't contribute to the development happening here. You're welcome to continue discussing your (?) disinterest proposal in the closed thread if you want, but in general there are better venues.