11 lines
236 B
TypeScript
11 lines
236 B
TypeScript
|
|
export default class Session {
|
|
constructor(private _sessionid: string) { }
|
|
get id() {
|
|
return this._sessionid;
|
|
}
|
|
root: boolean = false;
|
|
uid: string = undefined;
|
|
|
|
subscriptions = new Map<string, (() => void)>();
|
|
} |