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 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
}
}Create a free account to access the full topic