TaskExecutionContext

constructor(taskId: String, retryCount: Int = 0, payload: String? = null, tags: Set<String> = emptySet())

Parameters

taskId

The unique ID of the task currently executing.

retryCount

Zero-based number of times this task has been retried.

payload

Optional serialized data from TaskRequest.payload.

tags

Tags attached to the original TaskRequest, if any.