(runtime: PiRuntime, runtimeKey: string | null)
| 158 | } |
| 159 | |
| 160 | function handleRuntimeCompactionEnd(runtime: PiRuntime, runtimeKey: string | null) { |
| 161 | setTimeout(() => { |
| 162 | cancelLiveThreadUpdate(runtime) |
| 163 | void publishThreadUpdate(runtime, 'compaction') |
| 164 | void publishRuntimeComposerState(runtime) |
| 165 | }, 0) |
| 166 | if (runtimeKey && settingsRefreshController.isStale(runtimeKey)) |
| 167 | void reloadRuntimeSettingsIfSafe(runtimeKey).catch(() => undefined) |
| 168 | } |
| 169 | |
| 170 | function handleRuntimeToolEvent( |
| 171 | runtime: PiRuntime, |
no test coverage detected