- Fix Synchronous puts behaviors to be consistent with pre 0.10 releases
This restores the pre 0.10 behavior for handling put
s whose result is a Promise (i.e. dispatch an action which will be handled by a middleware and returns a Promise). In pre 0.10 releases, the put
doesn't wait for the returned promise to resolve;
Starting from this release
put
doesn't block waiting the returned promise to resolve- In order to wait for the returned Promise, use the variant
put.sync(...)
which will wait until the Promise resolve (or rejects) before resuming
For background see #336
Other changes
- fix Symbol handling in take's patterns and
takeEvery/takeLatest
(thanks to @jscinoz)