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.

Description

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

Delete a timer by timer ID.

Parameters

timer_id

Return Values


Swoole\Timer
PHP Manual