Swoole\Timer::clear

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

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

Description

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

Delete a timer by timer ID.

Parameters

timer_id

Return Values