2 ms·
Day to day Python async should be using generators and yields.
by andrewstuart 4y ago
Day to day Python async should be using generators and yields.
- nine_k 4y agoGenerators are great for predictable concurrency. Things like asynchronous I/O, with timeouts and stuff, require more support on the language and stdlib level.