Description
Use lightweight in-process greenlets for cooperative concurrency in Python. It helps frameworks switch between tasks without using a full operating-system thread for each execution path.
This is a low-level concurrency library. Cooperative scheduling can make blocking calls and shared state subtle, so applications should test cancellation, timeouts, and interactions with normal threads carefully.