Skip to content

@sqlrooms/core / RoomStateActions

Type Alias: RoomStateActions<PC>

RoomStateActions<PC>: object

Type Parameters

Type Parameter
PC

Type declaration

NameTypeDescription
initialize() => Promise<void>-
setRoomConfig(config) => voidSet the room config.
setLastSavedConfig(config) => voidSet 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-