Swoole\Timer::clearDelete a timer by ID Description
public static bool Swoole\Timer::clear(int
$timer_id)Deletes the timer with the given ID. Only timers created by the current process can be removed; timers belonging to other processes are not visible here. Parameters
Return Values
Returns ExamplesExample #1 Swoole\Timer::clear example The above example will output: bool(true) |