class IReactorTime(Interface): (source)
Known implementations: twisted.internet.base.ReactorBase
, twisted.internet.task.Clock
Time methods that a Reactor should implement.
Method | seconds |
Get the current time in seconds. |
Method | callLater |
Call a function later. |
Method | getDelayedCalls |
See twisted.internet.interfaces.IReactorTime.getDelayedCalls |
Call a function later.
Parameters | delay | the number of seconds to wait. (type: float ) |
callable | the callable object to call later. (type: Callable[..., Any] ) | |
args | the arguments to call it with. (type: object ) | |
kwargs | the keyword arguments to call it with. (type: object ) | |
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. (type: IDelayedCall ) |
See twisted.internet.interfaces.IReactorTime.getDelayedCalls
Returns | Undocumented (type: Sequence[IDelayedCall] ) |