( action: Action<State>, lane: Lane, hasEagerState = false, eagerState = null )
| 19 | } |
| 20 | |
| 21 | export const createUpdate = <State>( |
| 22 | action: Action<State>, |
| 23 | lane: Lane, |
| 24 | hasEagerState = false, |
| 25 | eagerState = null |
| 26 | ): Update<State> => { |
| 27 | return { |
| 28 | action, |
| 29 | lane, |
| 30 | next: null, |
| 31 | hasEagerState, |
| 32 | eagerState |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | export const createUpdateQueue = <State>() => { |
| 37 | return { |
no outgoing calls
no test coverage detected