Settings

Theme

Asyncio Task Cancellation Best Practices

superfastpython.com

12 points by jasonb05 2 years ago · 5 comments

Reader

starlevel003 2 years ago

answer: use Trio (or AnyIO if you're stuck in the asyncio land) and get sane cancel mechanics built-in.

andersrs 2 years ago

I love how C# came up with this a decade ago and everyone else is slowly catching on.

  • feldrim 2 years ago

    The language features are products of "reinventing the wheel processes" in general.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection