onTaskCompleted

abstract suspend fun onTaskCompleted(taskId: String, state: TaskState, timestamp: Long, retryCount: Int)

Records the completion of a task execution.