Swoole\Timer
PHP Manual

Swoole\Timer::clear

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

Swoole\Timer::clearDelete a timer by timer ID.

说明

public static void Swoole\Timer::clear ( integer $timer_id )

Delete a timer by timer ID.

参数

timer_id

返回值


Swoole\Timer
PHP Manual