MCPcopy
hub / github.com/redux-zero/redux-zero / Store

Interface Store

src/interfaces/Store.ts:1–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export default interface Store<S = any> {
2 middleware(...args: any[]): void;
3 setState(f: ((state: S) => Partial<S>) | Partial<S>): void;
4 subscribe(f: Function): () => void;
5 getState(): S;
6 reset(): void;
7}

Callers 26

bindActionFunction · 0.80
connect.spec.tsxFile · 0.80
Provider.spec.tsxFile · 0.80
ConnectClass · 0.80
useStore.spec.tsxFile · 0.80
useAction.spec.tsxFile · 0.80
setFunction · 0.80
connect.spec.tsxFile · 0.80
Provider.spec.tsxFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected