(PECL gearman >= 0.5.0)
GearmanClient::setCreatedCallback — Set a callback for when a task is queued
$callback
) : boolSets a function to be called when a task is received and queued by the Gearman job server. The callback should accept a single argument, a GearmanTask object.
callback
A function to call
锟缴癸拷时锟斤拷锟斤拷 TRUE
锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE
锟斤拷