Suspend!

Report a typo

Select all the places where we can call a suspending function.

fun printMyName() {
    // 1
}

suspend fun loadInfo() {
    // 2
}

fun main() {
    // 3
    
    runBlocking { 
        // 4
    }

    GlobalScope.launch {
        // 5
    }
}
Select one or more options from the list
___

Create a free account to access the full topic