feat(companion): return cancelPendingEventWaits count
This commit is contained in:
@@ -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[] {
|
||||
|
||||
Reference in New Issue
Block a user