PHP - Manual: Swoole\Server::tick
2024-11-15
(PECL swoole >= 1.9.0)
Swoole\Server::tick — Repeats a given function at every given time-interval.
$interval_ms
$callback
interval_ms
callback
官方地址:https://www.php.net/manual/en/swoole-server.tick.php