feat(companion): expose runtime event subscription count

This commit is contained in:
William Valentin
2026-02-16 19:32:25 -08:00
parent 9e7d3b0e13
commit d3e571b728
4 changed files with 21 additions and 1 deletions
+4
View File
@@ -298,6 +298,10 @@ export class CompanionRuntimeClient {
return this.ws?.readyState === WebSocket.OPEN;
}
get eventSubscriptionCount(): number {
return this.eventHandlers.size;
}
async connect(): Promise<void> {
if (this.connected) {
return;