Yea this is a tough one.
What I find myself doing most of the time is creating a LOG data type to keep track of the backend workflow, its start and end times and a status field. So, in your case, log of backend activity can be used to communicate to the user if the workflow has completed or not.
Create a LOG, start the spinner and keep the spinner visible as long as the status hasn’t yet completed - this would probably be the easiest way to accomplish what you need.
5 Likes