Interface: IUpdateResponse
coresdk.workflow_commands.IUpdateResponse
Properties of an UpdateResponse.
Implemented by
Properties
accepted
• Optional accepted: null | IEmpty
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).
completed
• Optional completed: null | IPayload
Must be sent once the update handler completes successfully.
protocolInstanceId
• Optional protocolInstanceId: null | string
The protocol message instance ID
rejected
• Optional rejected: null | IFailure
Must be sent if the update's validator does not pass, or after acceptance if the update handler fails.