GearmanTask
PHP Manual

GearmanTask::sendWorkload

(PECL gearman >= 0.6.0)

GearmanTask::sendWorkloadSend data for a task

Description

public int GearmanTask::sendWorkload ( string $data )

Avertissement

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

Liste de paramètres

data

Data to send to the worker.

Valeurs de retour

The length of data sent, or FALSE if the send failed.

Voir aussi


GearmanTask
PHP Manual