Interface: IUpdateResponse
Properties of an UpdateResponse.
Extends
Properties
accepted?
optionalaccepted?:$Properties|null
Must be sent if the update's validator has passed (or lang was not asked to run it, and thus should be considered already-accepted, allowing lang to always send the same sequence on replay).
Inherited from
completed?
optionalcompleted?:$Properties|null
Must be sent once the update handler completes successfully.
Inherited from
protocolInstanceId?
optionalprotocolInstanceId?:string|null
The protocol message instance ID
Inherited from
$Properties.protocolInstanceId
rejected?
optionalrejected?:$Properties|null
Must be sent if the update's validator does not pass, or after acceptance if the update handler fails.
Inherited from
response?
optionalresponse?:"completed"|"accepted"|"rejected"
UpdateResponse response