Methods summary
public
React\EventLoop\LoopInterface
|
#
getLoop( )
Get the loop with which this timer is associated
Get the loop with which this timer is associated
Returns
|
public
float
|
#
getInterval( )
Get the interval after which this timer will execute, in seconds
Get the interval after which this timer will execute, in seconds
Returns
float
|
public
callable
|
#
getCallback( )
Get the callback that will be executed when this timer elapses
Get the callback that will be executed when this timer elapses
Returns
callable
|
public
|
#
setData( mixed $data )
Set arbitrary data associated with timer
Set arbitrary data associated with timer
Parameters
|
public
mixed
|
#
getData( )
Get arbitrary data associated with timer
Get arbitrary data associated with timer
Returns
mixed
|
public
boolean
|
#
isPeriodic( )
Determine whether the time is periodic
Determine whether the time is periodic
Returns
boolean
|
public
boolean
|
#
isActive( )
Determine whether the time is active
Determine whether the time is active
Returns
boolean
|
public
|
|