One serial session the mock holds for a window.
const session = service.mock.state().sessions.get('serial-1');session?.writes.length; Copy
const session = service.mock.state().sessions.get('serial-1');session?.writes.length;
Runtime-assigned session id (serial-N).
serial-N
Optional
Optional chooser label from the request.
Options the napplet opened with.
Port the chooser selected.
Lifecycle state.
Owning napplet window.
Every accepted write, oldest first.
One serial session the mock holds for a window.
Example