Interface IStoreWriter<TState>
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Minimal write-side interface exposing a store's state-update API to collaborators. Store<TState> implements it explicitly.
public interface IStoreWriter<TState>
Type Parameters
TState
Properties
Methods
- Mutate(Func<TState, TState>)
Updates state without an equality check.
- SetState(Func<TState, TState>)
Updates state (equality-checked).