I am a beginner studying coroutines.
Not exactly, but I have a little understanding of what a coroutine is.
The suspend function is also difficult, but with a little understanding.
I'm studying step by step, but there are parts I don't understand.
That's suspendCoroutine. In the sample code, suspendCoroutine and Continuation used in the block appear, but I have no idea what these two are.
I've looked on other sites, but I can't find anywhere that explains it easily.
Can you explain what suspendCoroutine and Continuation are used for easily and, if possible, with an example?