Swoole\Server
PHP Manual

Swoole\Server::finish

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

Swoole\Server::finishUsed in task process for sending result to the worker process when the task is finished.

说明

public void Swoole\Server::finish ( string $data )

参数

data

返回值


Swoole\Server
PHP Manual