MCPcopy
hub / github.com/algolia/autocomplete / getState

Function getState

packages/autocomplete-core/src/createStore.ts:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25 return {
26 getState() {
27 return state;
28 },
29 dispatch(action, payload) {
30 const prevState = { ...state };
31 state = reducer(state, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected