SessionRequestDriveResult
Experimental
session/requestDrive result: granted moved the drive to the caller
(or the caller already held it) and stopped nothing — no turn ran, or
another connection’s turn runs or its input waits and now runs on under
the caller; busy left everything as it was — the caller’s own turn
runs or its input waits, the live holder is idle and its queue cannot be
read, or the live holder is not quiet and has not opted into
experimentalApi, so it could not hear that it lost the drive; nothing
is parked, and the caller asks again later (after turn/completed when a
turn runs; a runtime that cannot report its queue promises none). An
unloaded session is the typed resume-first refusal, not a result.
Fields and variants
Section titled “Fields and variants”driveHolder— Experimentalstatus— Experimental
Source
schema/msp/experimental/msp.schema.json#/types/SessionRequestDriveResult
{ "description": "`session/requestDrive` result: `granted` moved the drive to the caller\n(or the caller already held it) and stopped nothing — no turn ran, or\nanother connection's turn runs or its input waits and now runs on under\nthe caller; `busy` left everything as it was — the caller's own turn\nruns or its input waits, the live holder is idle and its queue cannot be\nread, or the live holder is not quiet and has not opted into\n`experimentalApi`, so it could not hear that it lost the drive; nothing\nis parked, and the caller asks again later (after `turn/completed` when a\nturn runs; a runtime that cannot report its queue promises none). An\nunloaded session is the typed resume-first refusal, not a result.", "properties": { "driveHolder": { "$ref": "#/$defs/ClientInfo", "description": "The handshake `ClientInfo` (name and version, never `title`) of the\nlive connection that holds the drive after the answer: the caller on\n`granted`, the live holder on `busy`. Never `null`." }, "status": { "$ref": "#/$defs/DriveRequestStatus", "description": "`granted` or `busy` (open)." } }, "required": [ "status" ], "type": "object", "x-msp-descriptor": "session/requestDrive", "x-msp-stability": "experimental"}