Archived
7 lines
192 B
TypeScript
7 lines
192 B
TypeScript
export interface ActiveSession<TRuntime> {
|
|
runtime: TRuntime;
|
|
unsubscribe: () => void;
|
|
}
|
|
|
|
export type GetActiveSession<TRuntime> = (sessionId: string) => Promise<ActiveSession<TRuntime>>;
|