Skip to content
Developer Preview

SessionOpening

Which verb opened this session, and what it answered.

MuseClient.startSession/resumeSession resolve to a Session, so without this the typed wire result — viewCursor, the resume history, the server’s own sessionId — would be swallowed by the wrapper. Discriminated by the verb rather than a bare union, so a consumer that only handles resume cannot silently read a start result’s absent members.

Source

clients/sdk-ts/src/facade/session.ts:84

{
"kind": "Type alias",
"canonicalPath": "SessionOpening"
}