MCPcopy
hub / github.com/reduxjs/redux / incrementAsync

Function incrementAsync

examples/universal/common/actions/index.js:28–32  ·  view source on GitHub ↗
(delay = 1000)

Source from the content-addressed store, hash-verified

26}
27
28export const incrementAsync = (delay = 1000) => dispatch => {
29 setTimeout(() => {
30 dispatch(increment())
31 }, delay)
32}

Callers 2

Counter.jsFile · 0.85
CounterFunction · 0.85

Calls 2

incrementFunction · 0.70
dispatchFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…