You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @soliury, there is no cancel/abort in when.js right now. It's a tricky issue, especially when combining promises with all, race, etc. However, @mjackson and I recently started prototyping some ideas. We're hoping to push it to a branch sometime soon. Stay tuned!
Activity
briancavalier commentedon Dec 14, 2014
Hi @soliury, there is no cancel/abort in when.js right now. It's a tricky issue, especially when combining promises with all, race, etc. However, @mjackson and I recently started prototyping some ideas. We're hoping to push it to a branch sometime soon. Stay tuned!
osdio commentedon Dec 16, 2014
Ok, can you describe the idea of abort promise?
briancavalier commentedon Dec 18, 2014
@soliury Sure, it's fairly simple. We did some brainstorming recently in a gist: https://github.com/gist.github.com/briancavalier/c416d396e844e31c6efa
There are a couple similar but slightly different approaches there, but that should give you an idea of how we are thinking it would work.
briancavalier commentedon Dec 19, 2014
@soliury I just pushed an initial prototype here: #415
It's nowhere near complete, and there are plenty of things to think about :) Please feel free to jump into the discussion!
briancavalier commentedon Dec 19, 2014
I think it makes sense to close this issue, since we can track progress in the pull request.