Property | Type | Description | |
---|---|---|---|
$failureMessage | string | Stores any failure messages triggered during run() | |
$retries | integer | Number of times a failed instance of this task should be restarted before giving up. | |
$timeout | integer | Timeout for run, after which the Task is reassigned to a new worker. |
Method | Description | |
---|---|---|
add ( ) : void | Add functionality. | |
run ( array $data, integer $id ) : boolean | Run function. |
public string $failureMessage | ||
return | string |
public int $retries | ||
return | integer |
public int $timeout | ||
return | integer |