Swoole\Server::clearTimer

swoole_timer_clear

(PECL swoole >= 1.9.0)

Swoole\Server::clearTimer -- swoole_timer_clearStop and destory a timer.

說明

面向?qū)ο箫L(fēng)格 (method):

public Swoole\Server::clearTimer(int $timer_id): void

過程化風(fēng)格:

swoole_timer_clear(int $timer_id): void

Stop and destory a timer

參數(shù)

timer_id

返回值