TaskCancelledEvent
data class TaskCancelledEvent(val taskId: String, val eventId: String, val createdAt: String, val payload: JsonObject = JsonObject(emptyMap())) : KnownTaskEvent
Emitted when the task is cancelled.
Functions
Link copied to clipboard
Tries to parse the payload as TaskFailedPayload if the event type matches.
Link copied to clipboard
Tries to parse the payload as TaskProgressPayload if the event type matches.
Link copied to clipboard
Returns true if this event indicates the final state of the task.