Swoole\Timer::clear

(PECL swoole >= 1.9.0)

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

Description

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

Delete a timer by timer ID.

Parameters

timer_id

Return Values