How to cancel a task correctly? #2307
Unanswered
Alex0Klain
asked this question in
Q&A
Replies: 1 comment 4 replies
-
The problem is that you are using |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I don't quite understand what's wrong here. I want to cancel the previous
.buildCommand
action and leave the last one..someAction
can be called a lot of times and you need to leave sending only the last action. But actually when called.buildCommand
, if you call.someAction
again, then last.buildCommand
will also be canceled for some reason. If you don't call.someAction
again during this.buildCommand
call, then everything will work correctlyReducer:
Beta Was this translation helpful? Give feedback.
All reactions