feat(companion): add platform event teardown passthrough
This commit is contained in:
@@ -251,6 +251,10 @@ export class MacOSCompanionClient {
|
||||
return this.runtime.subscribeEvents(handler);
|
||||
}
|
||||
|
||||
clearEventSubscriptions(): void {
|
||||
this.runtime.clearEventSubscriptions();
|
||||
}
|
||||
|
||||
waitForAnyEvent<TData = unknown>(
|
||||
eventNames: readonly string[],
|
||||
options?: {
|
||||
@@ -459,6 +463,10 @@ export class IOSCompanionClient {
|
||||
return this.runtime.subscribeEvents(handler);
|
||||
}
|
||||
|
||||
clearEventSubscriptions(): void {
|
||||
this.runtime.clearEventSubscriptions();
|
||||
}
|
||||
|
||||
waitForAnyEvent<TData = unknown>(
|
||||
eventNames: readonly string[],
|
||||
options?: {
|
||||
@@ -665,6 +673,10 @@ export class AndroidCompanionClient {
|
||||
return this.runtime.subscribeEvents(handler);
|
||||
}
|
||||
|
||||
clearEventSubscriptions(): void {
|
||||
this.runtime.clearEventSubscriptions();
|
||||
}
|
||||
|
||||
waitForAnyEvent<TData = unknown>(
|
||||
eventNames: readonly string[],
|
||||
options?: {
|
||||
|
||||
Reference in New Issue
Block a user