updateStatus

abstract suspend fun updateStatus(id: String, status: String, retryCount: Int)

Updates the status and retry count for a task.

Parameters

id

The task ID.

status

One of: "PENDING", "RUNNING", "SUCCESS", "FAILED"

retryCount

Current retry attempt count.