Swoole\Server::after
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Trigger a callback function after a period of time.
Description
Swoole\Server::after(int $after_time_ms, callable $callback, [string $param]): ReturnType
Parameters
after_time_mscallbackparam