swoole_timer_after

Trigger a one time callback function in the future

Description

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

Parameters

ms

callback

param

Return Values