Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
qwwdfsad committed Jun 29, 2023
2 parents d4f45b6 + 9c1b3af commit 897599f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ suspend fun main() = coroutineScope {
}
```

> Play with coroutines online [here](https://pl.kotl.in/hG_tKbid_)
> Play with coroutines online [here](https://pl.kotl.in/9zva88r7S)
## Modules

Expand Down
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 897599f

Please sign in to comment.