I am having a problem where my program makes a lot of DB connections at once, and display results after all the calls are completely done.
What I am trying to do is display the results as it goes along, how can I stop sequentially my code at some point, make it wait some more, display some more on the screen until it completes it's processing, that way the user doesn't have to wait 15 seconds for the program to get done.