togezr
Version:
Better together_
15 lines • 594 B
TypeScript
import { TChannel } from '../interfaces/TChannel';
interface IRunningChannelSession {
sessionId: string;
channel: TChannel;
}
declare class RunningSessionsRegistry {
add: (sessionToSet: IRunningChannelSession) => void;
getSessions: () => IRunningChannelSession[];
remove: (sessionToRemove: IRunningChannelSession) => void;
getActivelyRunningSession: () => IRunningChannelSession | null;
removeActivelyRunningSession: () => this;
}
export declare const runningSessionsRegistry: RunningSessionsRegistry;
export {};
//# sourceMappingURL=RunningSessionsRegistry.d.ts.map