fix(session): isolate availability observers

This commit is contained in:
N0zoM1z0
2026-07-14 20:52:39 +00:00
parent 528c05e2fa
commit e5a80d4f06
3 changed files with 62 additions and 4 deletions
+1 -1
View File
@@ -81,5 +81,5 @@ export interface BinarySessionPort extends AnalysisOperationPort {
UnknownRegistryError
>;
providerIdentity(operation?: AnalysisOperation): ProviderIdentity;
onAvailabilityChanged?(listener: () => void): () => void;
onAvailabilityChanged?(listener: () => void | Promise<void>): () => void;
}