I have a very long callback that mostly runs successfully to the last line returning a large dash_pivottable item. However, a lot of the time - it seems like it takes forever for the dash app to load it. I tested it locally and it works reasonably - and sometimes when I expose it to other users, the same thing could happen occasionally.
I am currently already using a dcc.Loading() so that I can see that it is running - but it seems like sometimes it is just getting stuck. Do you think background callbacks can solve the issue?