Generator based thunk middleware for Redux.
npm install redux-generator-thunkGenerator thunk middleware for Redux.


``js`
npm install --save redux-generator-thunk
Redux Generator Thunk middleware allows you to write action creators that return a generator function instead of an action. The generator function receives getState as a parameter.
An action creator that performs an async action:
`js
const INCREMENT_COUNTER = 'INCREMENT_COUNTER';
const increment = () => {
return {
type: INCREMENT_COUNTER
};
};
const incrementAsync = () => {
return function* () {
yield delay(1000);
yield increment();
};
}
`
MIT