Interfaces · @purista/core
StateStore
Interface definition for state store implementations
Signature
interface StateStore Properties
4 entries
getState
Property
getState: StateGetterFunction get a state value
name
Property
name: string name of store
removeState
Property
removeState: StateDeleteFunction delete a state value
setState
Property
setState: StateSetterFunction set a state value
Methods
1 entry
destroy
Method
destroy(): Promise<void> disconnects and shuts down the state store