kristjanvalur / py-asynkit

Tools for Python coroutines and advanced scheduling for `asyncio`
MIT License
13 stars 1 forks source link

Support advanced scheduling without subclassing the event loop #15

Closed kristjanvalur closed 1 year ago

kristjanvalur commented 1 year ago

This PR provides implementations of the AbstractSchedulingLoop that work for the default EventLoop implementations. This allows an application to use the advanced scheduling features such as sleep_insert() and task_switch() without having previously installed a different event loop implementation.