Replies: 1 comment
-
|
No, although potentially when timeouts are implemented this might be possible. In this case, I think the way to handle it varies on your business logic. A check in the background task that the current value is what it should be, combined with a mixture of transactions and |
Beta Was this translation helpful? Give feedback.
0 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.
-
Is there any way to terminate a task while it is running?
On this code example, I have a task that I would like to terminate due to user input:
If the task is not terminated, it will override model.value. I could maybe create a flag that the task checks before saving but that's not ideal.
Beta Was this translation helpful? Give feedback.
All reactions