twisted.internet.task.deferLater(clock, delay, callable, *args, **kw)
function documentationtwisted.internet.task
View Source
Call the given function after a certain period of time has passed.
Parameters | clock | The object which will be used to schedule the delayed call. (type: IReactorTime
provider) |
delay | The number of seconds to wait before calling the function. (type: float or int ) | |
callable | The object to call after the delay. | |
*args | The positional arguments to pass to callable . | |
**kw | The keyword arguments to pass to callable . | |
Returns | A deferred that fires with the result of the callable when the specified
time has elapsed. (type: defer.Deferred ) |