(machineId: string, body: { name?: string } = {})
| 58 | throw new Error("limit must be between 1 and 500"); |
| 59 | } |
| 60 | const response = await this.unary( |
| 61 | this.request({ |
| 62 | case: "listMachineMessagesReq", |
| 63 | value: { machineId, session: options.session, limit: options.limit }, |
| 64 | }), |
| 65 | ); |
| 66 | if (response.payload.case !== "machineMessageList") { |
| 67 | throw new Error("cmdop-core returned the wrong messages response arm"); |
| 68 | } |
nothing calls this directly
no outgoing calls
no test coverage detected