Open andhuang-CLGX opened 3 years ago
Right now, for each function I do
widget_column.loading = True
...
widget_column.loading = False
In my experience pn.state.sync_busy()
is not terribly useful in general though, since it doesn't actually reflect whether your application is busy, only whether a python function is currently blocking Tornado (I think technically it is whether a comm is currently awaiting a response?). So if you do your processing async / in a thread, which you have to do to keep from blocking all users, the busy spinner will never reflect the true busy state of your app.
If you want multiple spinners you can use start_loading_spinner
and stop_loading_spinner
functions in panel.io.loading
.
Would be really useful to be able to do