Method | Description | |
---|---|---|
cancel ( ) | Cancel timer and unregister it from loop. | |
getCallback ( ) : callable | Return callback attached to timer. | |
getData ( ) : mixed | null | Return data associated with timer. | |
getInterval ( ) : float | Return interval of timer. | |
getLoop ( ) : Kraken\Loop\LoopModelInterface | Return loop. | |
isActive ( ) : boolean | Check if timer is active. | |
isPeriodic ( ) : boolean | Check if timer is periodic. | |
setData ( mixed $data ) | Set data associated with timer. |
public getCallback ( ) : callable | ||
return | callable |
public getLoop ( ) : Kraken\Loop\LoopModelInterface | ||
return | Kraken\Loop\LoopModelInterface |
public isPeriodic ( ) : boolean | ||
return | boolean |