Swoole\Server::after
PHP Manual
PHP Manual»Swoole\Server»Swoole\Server::after

Swoole\Server::after

(PECL swoole >= 1.9.0)

Swoole\Server::afterTrigger a callback function after a period of time.

Опис

public function Swoole\Server::after(int $after_time_ms, callable $callback, string $param = ?): ReturnType

Параметри

after_time_ms

callback

param

Значення, що повертаються

To Top