swoole_timer_tick

(PECL swoole >= 1.9.0)

swoole_timer_tickTrigger a timer tick callback function by time interval

説明

swoole_timer_tick(int $ms, callable $callback, mixed $param = ?): int

パラメータ

ms

callback

戻り値

関連キーワード:  swoole, timer, callback, function, time, interval, int, exists, version, Swoole