( r: RunningServer, sid: string, promptId: string, turnId: number | null, )
| 123 | } |
| 124 | |
| 125 | function injectActivePrompt( |
| 126 | r: RunningServer, |
| 127 | sid: string, |
| 128 | promptId: string, |
| 129 | turnId: number | null, |
| 130 | ): void { |
| 131 | const impl = r.services.invokeFunction( |
| 132 | (a) => a.get(IPromptService) as PromptService, |
| 133 | ); |
| 134 | impl._injectActiveForTest(sid, promptId, turnId); |
| 135 | } |
| 136 | |
| 137 | interface Subscriber { |
| 138 | ws: WebSocket; |
no test coverage detected