Swoole\Timer::clearAll
PHP Manual
PHP Manual»Swoole\Timer»Swoole\Timer::clearAll

Swoole\Timer::clearAll

(No version information available, might only be in Git)

Swoole\Timer::clearAll — Clear all timers in the current process.

Beschreibung

public static function Swoole\Timer::clearAll(): bool

Clear all timers in the current process. As of Swoole 4.4.0.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben. false is returned when no timer has been created in this process yet. Only timers created from PHP are removed; internal timers are left in place.

To Top