Skip to main content

Module store

Module store 

Source
Expand description

Centralized state store with reducer pattern

Structs§

ComposedMiddleware
Compose multiple middleware into a single middleware
DispatchLimits
Configurable limits for middleware dispatch.
NoopMiddleware
A no-op middleware that does nothing
ReducerResult
Result of dispatching an action to a store.
Store
Centralized state store with Redux-like reducer pattern
StoreWithMiddleware
Store with middleware support

Enums§

DispatchError
Error returned when middleware dispatch exceeds configured limits.
NoEffect
Marker effect type for reducers that do not emit effects.

Traits§

Middleware
Middleware trait for intercepting actions

Type Aliases§

Reducer
A reducer function that handles actions and mutates state