Optional
bindContext to be bind to the task
Optional
idTask identifier, it necessary to identify the task during all the process, for example, when the job is executed, the event with the task identifier will be emitted with the result of the task.
Optional
priorityThe priority of the task. A higher value means a higher priority. The default priority is 0.
Optional
retrySet the options for the retry process of the task
Optional
retrySet the strategy to retry the task
Optional
weightThe weight of the task, this define the number of tokens that the task will consume from the bucket. The default weight is 1.
Represents the options for a task