Files
Nitro_Render_V3/packages/api/src/nitro/session/IRoomSessionManager.ts
T

13 lines
402 B
TypeScript

import { IRoomSession } from './IRoomSession';
export interface IRoomSessionManager
{
init(): Promise<void>;
getSession(id: number): IRoomSession;
createSession(roomId: number, password?: string): boolean;
startSession(session: IRoomSession): boolean;
removeSession(id: number, openLandingView?: boolean): void;
tryRestoreSession(): boolean;
viewerSession: IRoomSession;
}