Checks if a timer created using addTimer() or addPeriodicTimer() is
active. Proxies to the isTimerActive() implementation of the event loop
implementation returned by getLoop().
public isTimerActive ( React\EventLoop\Timer\TimerInterface $timer ) : boolean | ||
$timer | React\EventLoop\Timer\TimerInterface | Timer returned by addTimer() or addPeriodicTimer() |
return | boolean | TRUE if the specified timer is active, FALSE otherwise |