最后一个参数($uniqueId)在PHP Gearman的doNormal()中扮演什么角色


What is the role of the last argument ( $uniqueId ) in PHP Gearman's doNormal()?

在PHP的文档(http://php.net/manual/en/gearmanclient.donormal.php)中,你可以看到最后一个属性是任务的唯一标识符。

  1. 如何根据唯一标识符找到任务?
  2. 为什么使用 $unique 而不是 jobStatus() 中的 $job_handler( http://php.net/manual/en/gearmanclient.jobstatus.php ) ?

您似乎找不到基于唯一标识符的任务。