redux-saga-take-every-done

0.0.4 • Public • Published

[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

Readme

Keywords

Package Sidebar

Install

npm i redux-saga-take-every-done

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

92 kB

Total Files

10

Last publish

Collaborators

  • jayzhong-org