Swoole\Server
PHP Manual

Swoole\Server::after

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

Description

public ReturnType Swoole\Server::after ( integer $after_time_ms , callable $callback [, string $param ] )

Parameters

after_time_ms

callback

param

Return Values


Swoole\Server
PHP Manual