I want to clarify one doubt regarding Kotlin Coroutines.

How can I delay the execution of the next line or next block of code in my app until the response of my ongoing API comes?

**For e.g. Suppose I want to call one API when a user opens the app and only after I get the response from that API I want to draw the views or anything else. It can be as simple as log anything or show toast or something like that.**

Note: Without using runBlocking{ } or delay() methods.