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::taskwaitSwoole\Server::tick>
^Swoole\ServerLast updated: Mon, 26 Oct 2026

Swoole\Server::taskWaitMulti

(PECL swoole >= 1.9.0)

Swoole\Server::taskWaitMulti — Execute multiple tasks concurrently.

Description

public function Swoole\Server::taskWaitMulti(array $tasks, float $timeout_ms = ?): void

Parameters

tasks

timeout_ms

Return Values


<Swoole\Server::taskwaitSwoole\Server::tick>
^Swoole\ServerLast updated: Mon, 26 Oct 2026