Skip to content
Developer Preview

TurnInterruptResult

turn/interrupt result. Acceptance means the interrupt was admitted, not that the turn is already stopped: the turn is over when you fold its turn/completed with terminal cancelled.

  • commandId
  • status
  • turnId
Source

schema/msp/experimental/msp.schema.json#/types/TurnInterruptResult

{
"description": "`turn/interrupt` result. Acceptance means the interrupt was\nadmitted, **not** that the turn is already stopped: the turn is over when\nyou fold its `turn/completed` with terminal `cancelled`.",
"properties": {
"commandId": {
"description": "Echoes the client's id.",
"type": "string"
},
"status": {
"$ref": "#/$defs/CommandStatus",
"description": "Admission status."
},
"turnId": {
"description": "The interrupted turn.",
"type": "string"
}
},
"required": [
"commandId",
"status",
"turnId"
],
"type": "object"
}