Swoole\Server
PHP Manual

Swoole\Server::addProcess

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

Swoole\Server::addProcessAdd a user defined swoole_process to the server.

说明

public boolean Swoole\Server::addProcess ( swoole_process $process )

参数

process

返回值


Swoole\Server
PHP Manual