You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
takeLatest, takeLeading, takeEvery are not intended to be used inside all/race.
The interesting part about forks is that they are non-blocking, BUT the parent task will never finish as a result of waiting after the fork.
As a result, my guess is that takeLatest returns a fork (a task) which does not block the all, but will cause the parent generator (takeLatestWrapper) to never finish as a result of the task running indefinitely.
Also in discord @neurosnap tolds me that there are situations when it makes sense to use all() and takeLatest together:
Hi, i noticed that next code:
Dont works - it not prints "after" when saga run
I also noticed that this is works fine when macro version used.
I Described thoughts in readme of repo with attempt to fix that behavior:
https://github.com/krutoo/typed-redux-saga
You can also looks on tests folder in repo and check that with typed-redux-saga it is not works but with redux-saga and with fixed version it works.
Can we add a fix or something like that to
typed-redux-saga
?The text was updated successfully, but these errors were encountered: