Describe the bug
A clear and concise description of what the bug is.
If you have multiple events which return/yield the same event supersession does not cancel the first run of the returned event.
e.g.
You have event_a and event_b both return the background task do_stuff.
event_b is called while event_a is still running which causes do_stuff to run two times.
do_stuff is not canceled.
I wrote some tests regarding that behavior here
tim-haselhoff#6
Is this intended behavior or a development oversight?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
returned event is canceled.
Screenshots
If applicable, add screenshots to help explain your problem.
Specifics (please complete the following information):
- Python Version: 3.14
- Reflex Version: 0.9.10
- OS: Linux
- Browser (Optional): Chromium
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
If you have multiple events which return/yield the same event supersession does not cancel the first run of the returned event.
e.g.
You have event_a and event_b both return the background task do_stuff.
event_b is called while event_a is still running which causes do_stuff to run two times.
do_stuff is not canceled.
I wrote some tests regarding that behavior here
tim-haselhoff#6
Is this intended behavior or a development oversight?
To Reproduce
Steps to reproduce the behavior:
Test cancelation of different event chains tim-haselhoff/reflex#6
Expected behavior
A clear and concise description of what you expected to happen.
returned event is canceled.
Screenshots
If applicable, add screenshots to help explain your problem.
Specifics (please complete the following information):
Additional context
Add any other context about the problem here.