Swoole\Server::clearTimer

swoole_timer_clear

(PECL swoole >= 1.9.0)

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

说明

面向对象风格 (method):

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

过程化风格:

swoole_timer_clear(int $timer_id): void

Stop and destroy a timer

参数

timer_id

返回值