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 Swoole\Timer::clear ( integer $timer_id ) : void

Delete a timer by timer ID.

参数

timer_id

返回值