pop()
pop(string $queue = null, integer $delay, integer $sleep = 3, integer $maxTries) : array
执行下个任务
Parameters
string | $queue | |
integer | $delay | |
integer | $sleep | |
integer | $maxTries |
process(\think\queue\Job $job, integer $maxTries, integer $delay) : array
Process a given job from the queue.
\think\queue\Job | $job | |
integer | $maxTries | |
integer | $delay |
getNextJob(string $queue) : \think\queue\Job
获取下个任务
string | $queue |