1 /* 2 * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5 // This file was automatically generated from coroutines-basics.md by Knit tool. Do not edit. 6 package kotlinx.coroutines.guide.exampleBasic03 7 8 import kotlinx.coroutines.* 9 <lambda>null10fun main() = runBlocking { 11 doWorld() 12 } 13 doWorldnull14suspend fun doWorld() = coroutineScope { // this: CoroutineScope 15 launch { 16 delay(1000L) 17 println("World!") 18 } 19 println("Hello") 20 } 21