Skip to content
Developer Preview

session/declareExternalWait

Declares that a loaded session is waiting on an external event: the end-of-turn reminder boundary parks a blocking reminder instead of re-verifying until the next input arrives (ADR 66573 amendment). Live-only: a serve restart, unload, or resume loses the declaration; the next user input or an explicit clear ends it.

Type: SessionDeclareExternalWaitParams

session/declareExternalWait params.

Field Type Stability Presence Description
reason string optional The host’s label for what the session waits on, shown in the session view while the declaration is live. Omitted when the host has no label to show.
sessionId string required The loaded session the declaration is for.
Source

schema/msp/experimental/msp.schema.json#/methods/session~2FdeclareExternalWait

{
"description": "Declares that a loaded session is waiting on an external event: the end-of-turn reminder boundary parks a blocking reminder instead of re-verifying until the next input arrives (ADR 66573 amendment). Live-only: a serve restart, unload, or resume loses the declaration; the next user input or an explicit clear ends it.",
"params": {
"$ref": "#/$defs/SessionDeclareExternalWaitParams"
},
"result": {
"$ref": "#/$defs/SessionDeclareExternalWaitResult"
}
}