feat(companion): add clearEventSubscriptions helper
This commit is contained in:
@@ -364,6 +364,10 @@ export class CompanionRuntimeClient {
|
||||
};
|
||||
}
|
||||
|
||||
clearEventSubscriptions(): void {
|
||||
this.eventHandlers.clear();
|
||||
}
|
||||
|
||||
subscribeEvent<TData = unknown>(
|
||||
eventName: string,
|
||||
handler: CompanionTypedEventHandler<TData>,
|
||||
|
||||
Reference in New Issue
Block a user