How can I use coroutines to dynamically wait for time in while
I have encapsulated a while that waits for 8 hours to end. I need to repeat the task in it until the time reaches 8 hours. How can I make while wait for my task to end before starting the next cycle, instead of a fixed delay time?