Optional data object that's synchronized with the state.
The objects initial state if not explicitly initialized.
The objects fluid type/name.
The objects fluid type factory.
Optional data object for the current state.
Returns true if the object has been initialized.
The current state.
Changes to a new state with an optional data object.
New state name.
Optional. Data object to associate with the new state.
Disposes of the object when its container is disposed of.
Starts the object.
Optional. List of roles allowed to make state changes.
Generated using TypeDoc
Live fluid object that synchronizes a named state and optional data value across clients.
The primary benefit of using the
LiveState
object in a Teams meeting, versus something like aSharedMap
, is that you can restrict the roles of who's allowed to perform state changes.