Skip to content

Commit

Permalink
Minor grammar change under Structured Concurrency (#3689)
Browse files Browse the repository at this point in the history
  • Loading branch information
garethnic authored Jun 21, 2023
1 parent 5f60f22 commit 9c1b3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/coroutines-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ as threads are expensive resources and blocking them is inefficient and is often
### Structured concurrency

Coroutines follow a principle of
**structured concurrency** which means that new coroutines can be only launched in a specific [CoroutineScope]
**structured concurrency** which means that new coroutines can only be launched in a specific [CoroutineScope]
which delimits the lifetime of the coroutine. The above example shows that [runBlocking] establishes the corresponding
scope and that is why the previous example waits until `World!` is printed after a second's delay and only then exits.

Expand Down

0 comments on commit 9c1b3af

Please sign in to comment.