(state: ThreadState, action: ThreadAction)
| 214 | ]; |
| 215 | |
| 216 | export 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 | } |
no outgoing calls
no test coverage detected