GearmanClient::addTaskHighBackground
GearmanClient::addTaskHighBackground
(PECL gearman >= 0.5.0)
GearmanClient::addTaskHighBackground — Add a high priority background task to be run in parallel
Description
public GearmanTask GearmanClient::addTaskHighBackground ( string $function_name , string $workload [, mixed &$context [, string $unique ]] )
Adds a high priority background task to be run in parallel with other tasks. Call this method for all the tasks to be run in parallel, then call GearmanClient::runTasks() to perform the work. T