kotlin.coroutines.Continuation is the low-level mechanism by which suspending functions pause and resume their execution.
When a coroutine suspends, it saves a Continuation that knows how to get everything going again.
Most developers seldom write code that directly manipulates Continuation objects. They use high-level constructs like suspend functions, coroutineScope, withContext, async, or await.
kotlin.coroutines.Continuation encapsulates the suspended state, links to the coroutine’s context, and provides a method to continue execution with a final result or error.