( channel: string, sessionId: string, ...args: unknown[] )
| 439 | } |
| 440 | |
| 441 | async function invokeProjectedSessionRuntimeHost<T>( |
| 442 | channel: string, |
| 443 | sessionId: string, |
| 444 | ...args: unknown[] |
| 445 | ): Promise<T> { |
| 446 | const session = await runtimeHostSessionRef(sessionId); |
| 447 | const value = await ipcRenderer.invoke( |
| 448 | channel, |
| 449 | session.scope, |
| 450 | session.sessionId, |
| 451 | ...args, |
| 452 | ) as T; |
| 453 | return projectProtocolSessionIds(session.scope.hostId, value); |
| 454 | } |
| 455 | |
| 456 | async function invokeSessionSummary( |
| 457 | channel: string, |
no test coverage detected