Y
Hacker News
new
|
ask
|
show
|
jobs
Asyncio Task Cancellation Best Practices
(
superfastpython.com
)
12 points
by
jasonb05
916 days ago
2 comments
starlevel003
916 days ago
answer: use Trio (or AnyIO if you're stuck in the asyncio land) and get sane cancel mechanics built-in.
link
andersrs
916 days ago
I love how C# came up with this a decade ago and everyone else is slowly catching on.
link
feldrim
916 days ago
The language features are products of "reinventing the wheel processes" in general.
link