Swoole\Timer::after

Trigger a callback function after a period of time.

Description

public static void Swoole\Timer::after(int $after_time_ms, callable $callback)

Trigger a callback function after a period of time.

Parameters

after_time_ms

callback

Return Values