Skip to content

Commit bfacb27

Browse files
committed
Wrong phrase corrected: blocks until coroutine completes
Fixes Kotlin#186
1 parent fc6e31e commit bfacb27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coroutines-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ World!
178178
-->
179179

180180
The result is the same, but this code uses only non-blocking [delay].
181-
The the main thread, that invokes `runBlocking`, _blocks_ until the coroutine inside `runBlocking` is active.
181+
The the main thread, that invokes `runBlocking`, _blocks_ until the coroutine inside `runBlocking` completes.
182182

183183
This example can be also rewritten in a more idiomatic way, using `runBlocking` to wrap
184184
the execution of the main function:

0 commit comments

Comments
 (0)