Tag: AnyIO

Structured concurrency in Python with AnyIO
Post

Structured concurrency in Python with AnyIO

Originally posted on mattwestcott. How to improve your spaghetti asyncio code By now you might be familiar with the term ‘structured concurrency’. It’s a way to write concurrent programs that’s easier than manually taking care of the lifespan of concurrent tasks. The best overview is Notes on structured concurrency by Nathaniel Smith (or his video if you prefer). This post...