swoole_timer_tick

Trigger a timer tick callback function by time interval

Description

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

Parameters

ms

callback

Return Values