Swoole\Server::task
(PECL swoole >= 1.9.0)
Swoole\Server::task — Send data to the task worker processes.
說明
public Swoole\Server::task(
string $data
,
int $dst_worker_id
= ?,
callable $callback
= ?):
mixed
警告本函數(shù)還未編寫文檔,僅有參數(shù)列表。
參數(shù)
-
data
-
-
dst_worker_id
-
-
callback
-