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

70 views Asked by At

In PHP's documentation ( http://php.net/manual/en/gearmanclient.donormal.php ) you can see the last attribute to be a Unique Identifier for the task.

  1. How do you find a task based on the Unique Identifier ?
  2. Why use $unique and not $job_handler from jobStatus() ( http://php.net/manual/en/gearmanclient.jobstatus.php ) ?
1

There are 1 answers

0
Alexandru On BEST ANSWER

It seems that you cannot find a task based on the Unique Identifier.