Part of twisted.internet.interfaces View Source View In Hierarchy
Known implementations: twisted.internet.base.ReactorBase, twisted.internet.task.Clock
| Method | seconds | Get the current time in seconds. |
| Method | callLater | Call a function later. |
| Method | cancelCallLater | This method is deprecated. |
| Method | getDelayedCalls | Retrieve all currently scheduled delayed calls. |
| Parameters | delay | the number of seconds to wait.
(type: float
) |
| callable | the callable object to call later. | |
| args | the arguments to call it with. | |
| kw | the keyword arguments to call it with. | |
| Returns | An object which provides IDelayedCall
and can be used to cancel the scheduled call, by calling its
cancel() method. It also may be rescheduled by calling its
delay() or reset() methods.
| |
This method is deprecated.
Cancel a call that would happen later.| Parameters | callID | this is an opaque identifier returned from callLater that
will be used to cancel a specific call.
|
| Raises | ValueError | if the callID is not recognized. |
| Returns | A tuple of all IDelayedCall
providers representing all currently scheduled calls. This is everything
that has been returned by callLater but not yet called or
canceled.
| |