File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
kotlinx-coroutines-core/jvm/test/guide Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -152,10 +152,12 @@ suspend fun doWorld() = coroutineScope { // this: CoroutineScope
152
152
153
153
This code also prints:
154
154
155
- <!-- - TEST
155
+ ``` text
156
156
Hello
157
157
World!
158
- -->
158
+ ```
159
+
160
+ <!-- - TEST -->
159
161
160
162
## Scope builder and concurrency
161
163
@@ -166,7 +168,7 @@ Let's launch two concurrent coroutines inside a `doWorld` suspending function:
166
168
import kotlinx.coroutines.*
167
169
168
170
// sampleStart
169
- // Sequentially executes doWorld followed by "Hello "
171
+ // Sequentially executes doWorld followed by "Done "
170
172
fun main () = runBlocking {
171
173
doWorld()
172
174
println (" Done" )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ package kotlinx.coroutines.guide.exampleBasic04
7
7
8
8
import kotlinx.coroutines.*
9
9
10
- // Sequentially executes doWorld followed by "Hello "
10
+ // Sequentially executes doWorld followed by "Done "
11
11
fun main () = runBlocking {
12
12
doWorld()
13
13
println (" Done" )
You can’t perform that action at this time.
0 commit comments