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
 
<GearmanClient::returnCodeGearmanClient::setClientCallback>
^GearmanClientLast updated: Mon, 26 Oct 2026

GearmanClient::runTasks

(PECL gearman >= 0.5.0)

GearmanClient::runTasks — Run a list of tasks in parallel

Description

public function GearmanClient::runTasks(): bool

For a set of tasks previously added with GearmanClient::addTask(), GearmanClient::addTaskHigh(), GearmanClient::addTaskLow(), GearmanClient::addTaskBackground(), GearmanClient::addTaskHighBackground(), or GearmanClient::addTaskLowBackground(), this call starts running the tasks in parallel.

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.

See Also


<GearmanClient::returnCodeGearmanClient::setClientCallback>
^GearmanClientLast updated: Mon, 26 Oct 2026