PHP Gearman 的 doNormal() 中最后一个参数 ( $uniqueId ) 的作用是什么?

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. 为什么在 jobStatus() 中使用 $unique 而不是 $job_handler ( http://php.net/manual/en/gearmanclient.jobstatus.php ) ?

您似乎无法根据唯一标识符找到任务。