Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentState ¶
type PersistentState struct {
// contains filtered or unexported fields
}
func (*PersistentState) GetState ¶
func (ps *PersistentState) GetState(id string, initial func() any, options ...state.StateOption) state.MutableValue
func (*PersistentState) SetOnStateChange ¶
func (ps *PersistentState) SetOnStateChange(callback func())
type PersistentStateInterface ¶
type PersistentStateInterface = state.PersistentState
func NewPersistentState ¶
func NewPersistentState(scopes map[string]state.MutableValue) PersistentStateInterface
Click to show internal directories.
Click to hide internal directories.