php8.5
Home/ Manual/ gearman / gearmanjob/ GearmanJob::unique

GearmanJob::unique

PHP function Edit on GitHub ✎

(PECL gearman >= 0.5.0)

Get the unique identifier

Description

GearmanJob::unique(): false|string

Returns the unique identifier for this job. The identifier is assigned by the client.

Parameters Parameters

Return Values

An opaque unique identifier, or false if the job has not yet been initialized.

See Also

  • GearmanClient::do
  • GearmanTask::uuid

Source: reference/gearman/gearmanjob/unique.xml · from the official PHP manual (php/doc-en)