redux-saga-take-every-done
v0.0.4
Published
[DEPRECATED] redux-saga,takeEveryDone,Spawns a saga on all action dispatched to the Store that matches pattern
Downloads
11
Readme
[DEPRECATED]
redux-saga-take-every-done
Spawns a saga on all action dispatched to the Store that matches pattern
How to use
npm install redux-saga-take-every-done --save
import takeEveryDone from 'redux-saga-take-every-done'
function * rootSaga () {
yield takeEveryDone(['ACTION_1', 'ACTION_2'], actionsDone)
}
function * actionsDone () {
yield put({type: 'ACTION_DONE'})
}