Interfaces · @purista/core
StateStore
Interface definition for state store implementations
Signature
interface StateStoreProperties
4 entries
getState
Property
getState: StateGetterFunctionget a state value
name
Property
name: stringname of store
removeState
Property
removeState: StateDeleteFunctiondelete a state value
setState
Property
setState: StateSetterFunctionset a state value
Methods
1 entry
destroy
Method
destroy(): Promise<void>disconnects and shuts down the state store