updateStatus

abstract suspend fun updateStatus(id: UUID, status: TaskStatus)

Updates the status of a task.

Parameters

id

The unique identifier of the task.

status

The new status to be set for the task.


abstract suspend fun updateStatus(id: UUID, status: TaskStatus, executedAt: Instant)

Updates the status and execution time of a task.

Parameters

id

The unique identifier of the task.

status

The new status to be set for the task.

executedAt

The execution time to be set for the task.