feat(companion): expose pending request observability
This commit is contained in:
@@ -275,6 +275,10 @@ export class MacOSCompanionClient {
|
||||
return this.runtime.eventSubscriptionCount;
|
||||
}
|
||||
|
||||
get pendingRequestCount(): number {
|
||||
return this.runtime.pendingRequestCount;
|
||||
}
|
||||
|
||||
waitForAnyEvent<TData = unknown>(
|
||||
eventNames: readonly (CompanionEventName | string)[],
|
||||
options?: {
|
||||
@@ -517,6 +521,10 @@ export class IOSCompanionClient {
|
||||
return this.runtime.eventSubscriptionCount;
|
||||
}
|
||||
|
||||
get pendingRequestCount(): number {
|
||||
return this.runtime.pendingRequestCount;
|
||||
}
|
||||
|
||||
waitForAnyEvent<TData = unknown>(
|
||||
eventNames: readonly (CompanionEventName | string)[],
|
||||
options?: {
|
||||
@@ -757,6 +765,10 @@ export class AndroidCompanionClient {
|
||||
return this.runtime.eventSubscriptionCount;
|
||||
}
|
||||
|
||||
get pendingRequestCount(): number {
|
||||
return this.runtime.pendingRequestCount;
|
||||
}
|
||||
|
||||
waitForAnyEvent<TData = unknown>(
|
||||
eventNames: readonly (CompanionEventName | string)[],
|
||||
options?: {
|
||||
|
||||
Reference in New Issue
Block a user