Hacker News new | ask | show | jobs
by codedokode 3049 days ago
Cancelling the promise can be useful in fact to prevent doing computations that won't be used anyway. I tried to explain it in this comment: https://news.ycombinator.com/item?id=16386454