MachineStatusProps
View as MarkdownDefined in: react-ui/src/components/MachineStatus.tsx:12
Methods
Section titled “Methods”onSelect()?
Section titled “onSelect()?”onSelect?(machine): void;Defined in: react-ui/src/components/MachineStatus.tsx:18
Called after a computer is picked, or connected from “Connect another computer…” (it is
already selected for new sessions). <AgentChat> opens a new draft when it differs from the
open session’s computer.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
machine |
{ agentOutdated: boolean; agentVersion: string; id: string; lastSeenAt: string; name: string; online: boolean; os: string; runtimes: object[]; transport: "ws" | "http" | null; } |
machine.agentOutdated |
boolean |
machine.agentVersion |
string |
machine.id |
string |
machine.lastSeenAt |
string |
machine.name |
string |
machine.online |
boolean |
machine.os |
string |
machine.runtimes |
object[] |
machine.transport |
"ws" | "http" | null |
Returns
Section titled “Returns”void