Represents a store for storing data associated with commands
Get the current state as an object.
Initialize the state from storage.
Persist the state to storage.
Reset the state to its initial value.
Select a specific property or computed value from the state.
A function to project a slice of the state.
Observable of the selected value.
Subscribe to state changes.
Callback function to handle state changes.
Subscription object to manage the subscription.
Update the state with new values. Supports partial updates.
Partial state to merge with the current state.
Represents a store for storing data associated with commands