OptionalenableWhether to enable persistence features.
OptionalenableWhether to enable undo/redo history.
OptionalequalityCustom equality function for state change detection.
OptionalmaxMaximum number of undo steps to retain.
OptionalnameName of the store for debugging.
OptionalonCallback fired after a state load attempt.
OptionalonCallback fired after a successful save.
OptionalpartializeFunction to select which parts of state to persist.
OptionalpersistenceBackend adapter for persistence.
OptionalstorageKey prefix for persistent storage.
OptionalversionCurrent version of the state schema.
Configuration for creating a game store.