Licence
MIT
Version
0.0.4
Deps
0
Size
90 kB
Vulns
0
Weekly
0
[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'})
}