Kraken\Loop\LoopModelInterface::cancelTimer PHP Method

cancelTimer() public method

Cancel a pending timer.
public cancelTimer ( Kraken\Loop\Timer\TimerInterface $timer )
$timer Kraken\Loop\Timer\TimerInterface
    public function cancelTimer(TimerInterface $timer);

Usage Example

Example #1
0
 /**
  * @override
  * @inheritDoc
  */
 public function cancel()
 {
     if (isset($this->loop)) {
         $this->loop->cancelTimer($this);
     }
 }
All Usage Examples Of Kraken\Loop\LoopModelInterface::cancelTimer