-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workers report RUNNING state twice #4670
Comments
I suspect what you are seeing is that by the time the event is received, the state has change. The |
I appreciate the quick response. This was exactly what I was looking for. I realize now that when I set |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
Have you checked closed issues? https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed
Yes
The worker reports a RUNNING state when PENDING, causing a double report when the worker is actually in a RUNNING state.
There is no error shown on the command line, and TUI launches fine.
I'm wondering if this is the intended behavior, as I wrote some code similar to the code below surrounding the
Worker.StateChanged
event.Textual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options
The text was updated successfully, but these errors were encountered: