- added
detach
helper - this is used internally now byspawn
to markfork
effect as detached, got exported and might be used in userland, it's useful for creating i.e. detachedtakeEvery
import { detach } from 'redux-saga'
import { takeEvery } from 'redux-saga/effects'
// ...
yield detach(takeEvery(ACTION_A, mightThrowSaga))
- typings for
detach
got added thanks to @aikoven - removed
#__PURE__
annotations from the source code, adding them automatically with annotate-pure-calls babel's plugin - made
sagaStack
property non-enumerable (this is attached sometimes byredux-saga
to the thrown Errors) - unified internally error logging
- removed annoying "saga has been cancelled" logs, didn't find a valid use case for them