February 2022
Intermediate to advanced
376 pages
10h 54m
English
Continued from inside front cover
|
I want to . . . |
How? |
Chapter(s) |
|---|---|---|
|
Offload work to a queue for later processing |
Put the work on an asyncio queue |
12 |
|
Build a producer–consumer workflow |
Put items into a queue and process the queue |
12 |
|
Build a concurrent web crawler |
Use queues with a producer-consumer workflow |
12 |
|
Run existing command-line programs concurrently |
Use the asyncio subprocesses API |
13 |
|
Build APIs that can handle coroutines and functions |
Use core asyncio APIs |
14 |
|
Share state across multiple tasks |
Use context variables |
14 |
|
Use a different event loop |
Install a different event loop with asyncio API functions |
14 |
|
Learn the inner workings of how the asyncio ... |