| 19 | |
| 20 | export class MachinesResource extends BaseResource { |
| 21 | async list(): Promise<MachineRosterSnapshot> { |
| 22 | const response = await this.unary( |
| 23 | this.request({ case: "listMachinesReq", value: {} }), |
| 24 | ); |
| 25 | if (response.payload.case !== "machineRosterSnapshot") { |
| 26 | throw new Error("cmdop-core returned the wrong roster response arm"); |
| 27 | } |
| 28 | return response.payload.value; |
| 29 | } |
nothing calls this directly
no outgoing calls
no test coverage detected