(clientId: string)
| 346 | } |
| 347 | |
| 348 | async listContexts(clientId: string): Promise<RemoteContext[]> { |
| 349 | const resp = await this.forwardAndWait(clientId, DaemonMsgType.LIST_CONTEXTS_REQUEST, {}); |
| 350 | return (resp['body'] ?? []) as RemoteContext[]; |
| 351 | } |
| 352 | |
| 353 | async getContextTree(clientId: string, contextId: string): Promise<unknown> { |
| 354 | const resp = await this.forwardAndWait(clientId, DaemonMsgType.GET_CONTEXT_TREE_REQUEST, { id: contextId }); |
no test coverage detected