UiResumeEntry

data class UiResumeEntry(val interruptId: String, val status: UiResumeStatus, val payload: JsonElement? = null)

The client's answer to one UiInterrupt, as the next run carries it.

Constructors

Link copied to clipboard
constructor(interruptId: String, status: UiResumeStatus, payload: JsonElement? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the UiInterrupt.id this answers.

Link copied to clipboard
val payload: JsonElement?

the answer the agent asked for, any JSON, when status is UiResumeStatus.RESOLVED. What an abandoned interrupt means for the agent's work is the producer's business, so an entry abandoning one carries nothing.

Link copied to clipboard

whether the interrupt was answered or abandoned.