-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG] A progress callable of a bg callback sometimes doesn't trigger. #2828
Comments
If you have a sleep for 1 second, before setting "running" it is never going to appear right with the default settings. |
The documentation is extremely unclear of the inner workings. The https://dash.plotly.com/background-callbacks sections does not mention the behaviour you mentioned at all and does not mention any limitations for the bg callback progress callable. |
python 3.10.13
dash 2.16.0
if frontend related, tell us your Browser, Version and OS
Describe the bug
A function callable of a callback with a progress param doesn't seem to get hooked immediately. And calls to this callable seem to be ignored sometimes - especially fraction of a seconds after the callback itself has been triggered.
Expected behavior
MVE:
Run this app and click the button.
Expected behaviour:
Observed behaviour:
The text was updated successfully, but these errors were encountered: