cancel

abstract suspend fun cancel(taskId: String)

Cancels a previously scheduled task by its ID. Emits TaskState.Cancelled to any active observers.