hydrogen-web/room/room.js

20 lines
No EOL
346 B
JavaScript

class Room {
constructor(roomId, storage, storedSummary) {
this._roomId = roomId;
this._storage = storage;
this._summary = new RoomSummary(this._roomId, this._storage, storedSummary);
}
async applyInitialSync(roomResponse, membership) {
}
async applyIncrementalSync(roomResponse, membership) {
}
async loadFromStorage() {
}
}