GearmanWorker::wait
GearmanWorker::wait
(PECL gearman >= 0.6.0)
GearmanWorker::wait — Wait for activity from one of the job servers
Description
public bool GearmanWorker::wait ( void )
Causes the worker to wait for activity from one of the Gearman job servers when operating in non-blocking I/O mode. On failure, issues a E_WARNING
with the last Gearman error encountered.
Parameters
This function has no parameters.