public function clearTimeout($timerid) { return swoole_timer_clear($timerid); }
public function onFinish() { if ($this->timer) { Timer::clearTimeout($this->timer); $this->timer = null; } }