feat(companion): return clearEventSubscriptions result counts
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type {
|
||||
CompanionEventName,
|
||||
CompanionEventEnvelope,
|
||||
ClearEventSubscriptionsResult,
|
||||
EventSurfaceSnapshot,
|
||||
ConnectionSnapshot,
|
||||
CompanionEventHandler,
|
||||
@@ -267,8 +268,8 @@ export class MacOSCompanionClient {
|
||||
return this.runtime.subscribeEvent(eventName, handler);
|
||||
}
|
||||
|
||||
clearEventSubscriptions(): void {
|
||||
this.runtime.clearEventSubscriptions();
|
||||
clearEventSubscriptions(): ClearEventSubscriptionsResult {
|
||||
return this.runtime.clearEventSubscriptions();
|
||||
}
|
||||
|
||||
cancelPendingEventWaits(reason?: string): number {
|
||||
@@ -545,8 +546,8 @@ export class IOSCompanionClient {
|
||||
return this.runtime.subscribeEvent(eventName, handler);
|
||||
}
|
||||
|
||||
clearEventSubscriptions(): void {
|
||||
this.runtime.clearEventSubscriptions();
|
||||
clearEventSubscriptions(): ClearEventSubscriptionsResult {
|
||||
return this.runtime.clearEventSubscriptions();
|
||||
}
|
||||
|
||||
cancelPendingEventWaits(reason?: string): number {
|
||||
@@ -821,8 +822,8 @@ export class AndroidCompanionClient {
|
||||
return this.runtime.subscribeEvent(eventName, handler);
|
||||
}
|
||||
|
||||
clearEventSubscriptions(): void {
|
||||
this.runtime.clearEventSubscriptions();
|
||||
clearEventSubscriptions(): ClearEventSubscriptionsResult {
|
||||
return this.runtime.clearEventSubscriptions();
|
||||
}
|
||||
|
||||
cancelPendingEventWaits(reason?: string): number {
|
||||
|
||||
Reference in New Issue
Block a user