woob.core.scheduler
¶
- class Scheduler[source]¶
Bases:
IScheduler
Scheduler using Python’s
threading
.- schedule(interval, function, *args)[source]¶
Schedule an event.
- Parameters:
interval (int) – delay before calling the function
function (callabale) – function to call
args – arguments to give to function
- Returns:
an event identificator