Swoole\Timer::clearDelete a timer by ID 説明
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. パラメータ
戻り値
成功した場合に 例例1 Swoole\Timer::clear example 上の例の出力は以下となります。 bool(true) |