Skip to content

Commit

Permalink
fix: remove sampleStart and sampleEnd comments from example in co…
Browse files Browse the repository at this point in the history
…routine-context-and-dispatchers.md (#4081)
  • Loading branch information
PetrakovichVictoria authored Apr 3, 2024
1 parent 0148534 commit 20707d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/topics/coroutine-context-and-dispatchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ import kotlinx.coroutines.*
fun log(msg: String) = println("[${Thread.currentThread().name}] $msg")

fun main() {
//sampleStart
newSingleThreadContext("Ctx1").use { ctx1 ->
newSingleThreadContext("Ctx2").use { ctx2 ->
runBlocking(ctx1) {
Expand All @@ -239,7 +238,6 @@ fun main() {
}
}
}
//sampleEnd
}
```

Expand Down

0 comments on commit 20707d3

Please sign in to comment.