Skip to main content

Module msp_session

Module msp_session 

Source
Expand description

The MSP client’s state: the handshake, the session, which turns are still running, and what each line from muse serve asks of the controller. No I/O, so the controller’s whole reaction to a line is testable without a process (MspController in msp.rs does the I/O).

Handshake: initialize → initialized → session/start (or session/resume of the pane’s previous session, falling back to a new one). A turn is a turn/start command whose ack names its turn; the turn ends with the turn/completed notification.