feat(companion): add platform event subscription count passthrough
This commit is contained in:
@@ -260,6 +260,10 @@ export class MacOSCompanionClient {
|
||||
return this.runtime.listKnownEventNames();
|
||||
}
|
||||
|
||||
get eventSubscriptionCount(): number {
|
||||
return this.runtime.eventSubscriptionCount;
|
||||
}
|
||||
|
||||
waitForAnyEvent<TData = unknown>(
|
||||
eventNames: readonly string[],
|
||||
options?: {
|
||||
@@ -476,6 +480,10 @@ export class IOSCompanionClient {
|
||||
return this.runtime.listKnownEventNames();
|
||||
}
|
||||
|
||||
get eventSubscriptionCount(): number {
|
||||
return this.runtime.eventSubscriptionCount;
|
||||
}
|
||||
|
||||
waitForAnyEvent<TData = unknown>(
|
||||
eventNames: readonly string[],
|
||||
options?: {
|
||||
@@ -690,6 +698,10 @@ export class AndroidCompanionClient {
|
||||
return this.runtime.listKnownEventNames();
|
||||
}
|
||||
|
||||
get eventSubscriptionCount(): number {
|
||||
return this.runtime.eventSubscriptionCount;
|
||||
}
|
||||
|
||||
waitForAnyEvent<TData = unknown>(
|
||||
eventNames: readonly string[],
|
||||
options?: {
|
||||
|
||||
Reference in New Issue
Block a user