Swoole\Server::task
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Send data to the task worker processes.
Description
Swoole\Server::task(string $data, [int $dst_worker_id], [callable $callback]): mixed
Func
Parameters
datadst_worker_idcallback