Swoole 函数
PHP Manual

swoole_timer_tick

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

swoole_timer_tickTrigger a timer tick callback function by time interval

说明

int swoole_timer_tick ( int $ms , callable $callback [, mixed $param ] )

参数

ms

callback

返回值


Swoole 函数
PHP Manual