aeruhxi
/** * You can edit, run, and share this code. * <http://play.kotlinlang.org|play.kotlinlang.org> */ import kotlinx.coroutines.* fun main() { println("Hello, world!!!") CoroutineScope(<http://Dispatchers.IO|Dispatchers.IO>).launch { (1..1000).forEach { suspend { delay(2000) print("Testing...") } } } }
suspend {}
elizarov
{}
val block = suspend { … }
A modern programming language that makes developers happier.