TaskActionAcceptedEvent
data class TaskActionAcceptedEvent(val taskId: String, val eventId: String, val createdAt: String, val payload: JsonObject = JsonObject(emptyMap()), val accepted: ActionAcceptedPayload) : KnownTaskEvent
Emitted when a user action has been successfully processed.
Constructors
Link copied to clipboard
constructor(taskId: String, eventId: String, createdAt: String, payload: JsonObject = JsonObject(emptyMap()), accepted: ActionAcceptedPayload)
Properties
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.