Swoole\Server
PHP Manual

Swoole\Server::clearTimer

swoole_timer_clear

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

说明

面向对象风格 (method):

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

过程化风格:

void swoole_timer_clear ( integer $timer_id )

Stop and destory a timer

参数

timer_id

返回值


Swoole\Server
PHP Manual