module documentation
Implementation of TimeDriver
that can run timers by blocking until all its timers have been run, sleeping between them as necessary.
This is suitable for batch scripts that don't require an event loop like asyncio
or twisted
.
Class |
|
Instantiate a SleepDriver with no arguments to get one that sleeps using time.sleep and gets the current time with time.time . |