5 comments

[ 2.6 ms ] story [ 20.0 ms ] thread
I love how C# came up with this a decade ago and everyone else is slowly catching on.
(comment deleted)
(comment deleted)
The language features are products of "reinventing the wheel processes" in general.
answer: use Trio (or AnyIO if you're stuck in the asyncio land) and get sane cancel mechanics built-in.