Part of services.scheduler View Source View In Hierarchy
Method | __init__ | Undocumented |
Method | callLater | executes function after time seconds with
arguments *args and keyword arguments
**kwargs |
Method | cancelCallLater | cancel a delayed call |
Method | callPeriodic | executes function every delay seconds with
keyword arguments **kwargs |
Inherited from MultiService:
Method | privilegedStartService | Do preparation work for starting the service. |
Method | startService | Start the service. |
Method | stopService | Stop the service. |
Method | getServiceNamed | Get the child service with a given name. |
Method | __iter__ | Get an iterator over all child services. |
Method | addService | Add a child service. |
Method | removeService | Remove a child service. |
Inherited from Service (via MultiService):
Method | __getstate__ | Undocumented |
Method | setName | Set the name of the service. |
Method | setServiceParent | Set the parent of the service. |
Method | disownServiceParent | Use this API to remove an IService
from an IServiceCollection . |
function
after time
seconds with
arguments *args
and keyword arguments
**kwargs
Parameters | time | seconds to wait before executing function
(type: int
) |
function | the function to call (type: callable ) | |
*args | arguments for the function (type: tuple ) | |
**kwargs | keyworded arguments for the function (type: dict ) |
Parameters | callID | the call to cancel (id returned in callLater) |
function
every delay
seconds with
keyword arguments **kwargs
Parameters | delay | the delay between two runs of the function
(type: int
) |
function | the function to be called (type: callable ) | |
kwargs | the keyworded arguments for the function (type: dict ) | |
Note | add the possibility to give a *args-tuple (need to know how to merge two tuples) |