GearmanWorker::work

GearmanWorker::work

(PECL gearman >= 0.5.0)

GearmanWorker::workWait for and perform jobs

Description

public bool GearmanWorker::work ( void )

Waits for a job to be assigned and then calls the appropriate callback function. Issues an E_WARNING with the last Gearman error if the return code is not one of GEARMAN_SUCCESS, GEARMAN_IO_WAIT, or GEARMAN_WORK_FAIL.

Parameters

This fu