Timer::clearTimeout PHP Méthode

clearTimeout() public méthode

public clearTimeout ( $timerid )
    public function clearTimeout($timerid)
    {
        return swoole_timer_clear($timerid);
    }

Usage Example

Exemple #1
0
 public function onFinish()
 {
     if ($this->timer) {
         Timer::clearTimeout($this->timer);
         $this->timer = null;
     }
 }