isTimerActive() 공개 메소드

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