| 12 | } |
| 13 | |
| 14 | export interface UpdateQueue<State> { |
| 15 | shared: { |
| 16 | pending: Update<State> | null; |
| 17 | }; |
| 18 | dispatch: Dispatch<State> | null; |
| 19 | } |
| 20 | |
| 21 | export const createUpdate = <State>( |
| 22 | action: Action<State>, |
nothing calls this directly
no outgoing calls
no test coverage detected