@sqlrooms/core / RoomStateActions
Type Alias: RoomStateActions<PC>
RoomStateActions<
PC
>:object
Type Parameters
Type Parameter |
---|
PC |
Type declaration
Name | Type | Description |
---|---|---|
initialize | () => Promise <void > | - |
setRoomConfig | (config ) => void | Set the room config. |
setLastSavedConfig | (config ) => void | Set the last saved room config. This can be used to check if the room has unsaved changes. |
hasUnsavedChanges() | - | |
setTaskProgress | (id , taskProgress ) => void | - |
getLoadingProgress | () => TaskProgress | undefined | - |