We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e85d5 commit e6b4739Copy full SHA for e6b4739
docs/basics.md
@@ -125,7 +125,7 @@ the execution of the main function:
125
<div class="sample" markdown="1" theme="idea" data-highlight-only>
126
127
```kotlin
128
-fun main(args: Array<String>) = runBlocking { // start main coroutine
+fun main(args: Array<String>) = runBlocking<Unit> { // start main coroutine
129
GlobalScope.launch { // launch new coroutine in background and continue
130
delay(1000L)
131
println("World!")
0 commit comments