We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f5126d0 + e6b4739 commit 63f4a27Copy full SHA for 63f4a27
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