TaskMessageEvent
data class TaskMessageEvent(val taskId: String, val eventId: String, val createdAt: String, val payload: JsonObject = JsonObject(emptyMap())) : KnownTaskEvent
Emitted for general information or logging.
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.