This small update allows you to integrate better with some other redux libraries, like redux-actions and redux-act.
For the users of those it is now possible to omit maintaining action constants only for the sake's of redux-saga
and they can use created actions as patterns for the take
effect like this:
import { createAction } from 'redux-actions'
const increment = createAction('INCREMENT', amount => amount) // typeof increment === 'function'
// ...
yield take(increment)
It means that you can pass an action creator function with custom .toString()
method on it and it can be checked by redux-saga against dispatched actions' types.
Special thanks for this goes to @thezanke
Also - finally the build for rollup
should be fixed (public export of CHANNEL_END
got fixed).