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
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[x] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
Running three actions of the same type in a row will always result in three updates of the store.
Expected behavior
The ability to set an option that would cancel the execution of the previous action stream (switchMap behavior).
I'm submitting a...
Current behavior
Running three actions of the same type in a row will always result in three updates of the store.
Expected behavior
The ability to set an option that would cancel the execution of the previous action stream (switchMap behavior).
Maybe something like:
{ type: '[Todos] Fetch All', cancelUncompleted: true }
What is the motivation / use case for changing the behavior?
Clicking three times on the fetch button should normally not end up in three updates of the store.
I am not sure Akita can support this out of the box, but at least a documentation recipe of how can this be achieved with RxJS would be helpful.
The text was updated successfully, but these errors were encountered: