MCPcopy
hub / github.com/Dimillian/CodexMonitor / threadReducer

Function threadReducer

src/features/threads/hooks/useThreadsReducer.ts:216–224  ·  view source on GitHub ↗
(state: ThreadState, action: ThreadAction)

Source from the content-addressed store, hash-verified

214];
215
216export function threadReducer(state: ThreadState, action: ThreadAction): ThreadState {
217 for (const reduceSlice of threadSliceReducers) {
218 const nextState = reduceSlice(state, action);
219 if (nextState !== state) {
220 return nextState;
221 }
222 }
223 return state;
224}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected