swoole_timer_tick

Trigger a timer tick callback function by time interval

説明

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

パラメータ

ms

callback

戻り値