isTimerActive() public méthode

Check if a given timer is active.
public isTimerActive ( Kraken\Loop\Timer\TimerInterface $timer ) : boolean
$timer Kraken\Loop\Timer\TimerInterface
Résultat boolean
Exemple #1
0
 /**
  * @override
  * @inheritDoc
  */
 public function isTimerActive(\React\EventLoop\Timer\TimerInterface $timer)
 {
     return $this->loop->isTimerActive($timer->getActualTimer());
 }