Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 3,497 posts.

Any topic
2021
3106

Async Cancellation

Sometimes we start things but decide midway through that we would prefer to rather not be doing them. That process is sometimes referred to as cancellation. Say we accidentally clicked "download" on a large file in the browser. We should have a way to tell the computer to stop downloading it.