store

package
v0.1.79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL