int|null | Number of seconds this task needs to remain leased for, or null for a default lease. |
int|null | Number of times the task will retry before permanent failure. Return `null` to retry indefinitely. |
PhabricatorWorkerTask | $task | The task itself. This object is probably useful mostly to examine the failure count if you want to implement staggered retries, or to examine the execution exception if you want to react to different failures in different ways. |
int|null | Number of seconds to wait between retries, or null for a default retry period (currently 60 seconds). |
This method is not documented.
PhabricatorWorkerTask | $task | |
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
string | $class | Task class to queue. |
array | $data | Data for the followup task. |
array | $options | Options for the followup task. |
list<tuple<string, wild, int|null>> | Queued task specifications. |
map<string, | $defaults | wild> Optional default options. |
list<id> | $ids | List of task IDs to try to awaken. |
This method is not documented.
This method is not documented.
PhabricatorUser | $viewer | |
PhortuneSubscription | $subscription | |
PhortuneCart | $cart | |
PhortuneSubscription | The subscription to invoice. |
PhortuneSubscription | $subscription | The subscription being billed. |
pair<int, int> | Beginning and end of the billing range. |