We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf3042 commit 833be72Copy full SHA for 833be72
packages/element-web-module-api/src/api/stores.ts
@@ -6,16 +6,17 @@ Please see LICENSE files in the repository root for full details.
6
*/
7
8
import type { Room } from "../models/Room";
9
+import { Watchable } from "./watchable";
10
11
/**
12
* Provides some basic functionality of the Room List Store from element-web.
13
* @public
14
15
export interface RoomListStoreApi {
16
- * Get a flat list of sorted room from the RLS.
17
+ * Returns a watchable holding a flat list of sorted room.
18
- getRooms(): Room[];
19
+ getRooms(): Watchable<Room[]>;
20
21
22
* Returns a promise that resolves when RLS is ready.
0 commit comments