64.4 Suspend Functions
A suspend function is a special type of Kotlin function that contains the code of a coroutine. It is declared using the Kotlin suspend keyword which indicates to Kotlin that the function can be paused and resumed later, allowing long-running computations to execute without blocking the main thread.
The following is an example suspend function:
suspend fun mySlowTask() {
// Perform long running task here
}