Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Server::taskSwoole\Server::taskWaitMulti>
^Swoole\ServerLast updated: Mon, 26 Oct 2026

Swoole\Server::taskwait

(PECL swoole >= 1.9.0)

Swoole\Server::taskwait — Send data to the task worker processes in blocking way.

Description

public function Swoole\Server::taskwait(string $data, float $timeout = ?, int $worker_id = ?): void

Warning

This function is currently not documented; only its argument list is available.

Parameters

data

timeout

worker_id

Return Values


<Swoole\Server::taskSwoole\Server::taskWaitMulti>
^Swoole\ServerLast updated: Mon, 26 Oct 2026