feat(companion): return cancelPendingEventWaits count

This commit is contained in:
William Valentin
2026-02-16 22:19:50 -08:00
parent a4e9828592
commit 83236a4ba3
6 changed files with 32 additions and 13 deletions
+6 -6
View File
@@ -269,8 +269,8 @@ export class MacOSCompanionClient {
this.runtime.clearEventSubscriptions();
}
cancelPendingEventWaits(reason?: string): void {
this.runtime.cancelPendingEventWaits(reason);
cancelPendingEventWaits(reason?: string): number {
return this.runtime.cancelPendingEventWaits(reason);
}
listKnownEventNames(): CompanionEventName[] {
@@ -539,8 +539,8 @@ export class IOSCompanionClient {
this.runtime.clearEventSubscriptions();
}
cancelPendingEventWaits(reason?: string): void {
this.runtime.cancelPendingEventWaits(reason);
cancelPendingEventWaits(reason?: string): number {
return this.runtime.cancelPendingEventWaits(reason);
}
listKnownEventNames(): CompanionEventName[] {
@@ -807,8 +807,8 @@ export class AndroidCompanionClient {
this.runtime.clearEventSubscriptions();
}
cancelPendingEventWaits(reason?: string): void {
this.runtime.cancelPendingEventWaits(reason);
cancelPendingEventWaits(reason?: string): number {
return this.runtime.cancelPendingEventWaits(reason);
}
listKnownEventNames(): CompanionEventName[] {