SessionLeaveResult
The admission-only session/leave result.
Fields and variants
Section titled “Fields and variants”commandIdstatus
Source
schema/msp/experimental/msp.schema.json#/types/SessionLeaveResult
{ "description": "The admission-only `session/leave` result.", "properties": { "commandId": { "description": "The leave command's id.", "type": "string" }, "status": { "$ref": "#/$defs/CommandAckStatus", "description": "The admission status, `accepted` once the leave is admitted. The final\nresult arrives later as `session/leaveCompleted`. Sending the same leave\ncommand again returns `accepted` and re-pushes the recorded result if\nthere is one, from the host that ran the leave (for as long as it runs,\neven after the release) or from a host that has the session loaded\n(after a host crash, `abandoned` among them). Any other host treats it\nas a fresh leave: a durable host that has not loaded the session refuses\nit with `sessionNotLoaded` until it is resumed there." } }, "required": [ "commandId", "status" ], "type": "object"}