0.0.4 • Published 6 years ago

redux-saga-take-every-done v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

DEPRECATED

redux-saga-take-every-done Build Status npm version

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'})
}

License

MIT

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago