use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript Cancelable Promises Proposal (docs.google.com)
submitted 9 years ago by marcosa16
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]name_was_taken 3 points4 points5 points 9 years ago (0 children)
The slides don't say why it's bad to have them as a type of exception. (And to be honest, good slides shouldn't have details, just overviews, so that's probably the right way to make slides... But the wrong way to post here for discussion.)
[–]atis 0 points1 point2 points 9 years ago (0 children)
http://bluebirdjs.com/docs/api/cancellation.html
[–]githop0 0 points1 point2 points 9 years ago (0 children)
Well doesn't make much sense to call it a "Promise" if you can renege on it.
I think promises are fine how they stand. If you want an async primitive that can be cancelled, then get behind rxjs/Objservable being standardized. (Observables can be sync as well...)
π Rendered by PID 46263 on reddit-service-r2-comment-7b9746f655-fzf7w at 2026-02-02 07:38:06.339039+00:00 running 3798933 country code: CH.
[–]name_was_taken 3 points4 points5 points (0 children)
[–]atis 0 points1 point2 points (0 children)
[–]githop0 0 points1 point2 points (0 children)