diff --git a/docs/topics/cancellation-and-timeouts.md b/docs/topics/cancellation-and-timeouts.md index f19da89ffa..ac99d5fee3 100644 --- a/docs/topics/cancellation-and-timeouts.md +++ b/docs/topics/cancellation-and-timeouts.md @@ -32,7 +32,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-01.kt). > {style="note"} @@ -86,7 +86,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-02.kt). > {style="note"} @@ -131,7 +131,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-03.kt). > {style="note"} @@ -173,7 +173,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-04.kt). > {style="note"} @@ -218,7 +218,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-05.kt). > {style="note"} @@ -273,7 +273,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-06.kt). > {style="note"} @@ -311,7 +311,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-07.kt). > {style="note"} @@ -354,7 +354,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-08.kt). > {style="note"} @@ -415,7 +415,7 @@ fun main() { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-09.kt). > {style="note"} @@ -468,7 +468,7 @@ fun main() { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-cancel-10.kt). > {style="note"} diff --git a/docs/topics/channels.md b/docs/topics/channels.md index 8c7d593d45..090f9e6990 100644 --- a/docs/topics/channels.md +++ b/docs/topics/channels.md @@ -31,7 +31,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-01.kt). > {style="note"} @@ -77,7 +77,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-02.kt). > {style="note"} @@ -118,7 +118,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-03.kt). > {style="note"} @@ -182,7 +182,7 @@ fun CoroutineScope.square(numbers: ReceiveChannel): ReceiveChannel = p } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-04.kt). > {style="note"} @@ -266,7 +266,7 @@ fun CoroutineScope.filter(numbers: ReceiveChannel, prime: Int) = produce > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-05.kt). > {style="note"} @@ -360,7 +360,7 @@ fun CoroutineScope.launchProcessor(id: Int, channel: ReceiveChannel) = laun } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-06.kt). > {style="note"} @@ -435,7 +435,7 @@ suspend fun sendString(channel: SendChannel, s: String, time: Long) { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-07.kt). > {style="note"} @@ -485,7 +485,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-08.kt). > {style="note"} @@ -538,7 +538,7 @@ suspend fun player(name: String, table: Channel) { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-09.kt). > {style="note"} @@ -602,7 +602,7 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-channel-10.kt). > {style="note"} diff --git a/docs/topics/composing-suspending-functions.md b/docs/topics/composing-suspending-functions.md index 69a01c52e4..7e8c249f21 100644 --- a/docs/topics/composing-suspending-functions.md +++ b/docs/topics/composing-suspending-functions.md @@ -60,7 +60,7 @@ suspend fun doSomethingUsefulTwo(): Int { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-compose-01.kt). > {style="note"} @@ -111,7 +111,7 @@ suspend fun doSomethingUsefulTwo(): Int { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-compose-02.kt). > {style="note"} @@ -164,7 +164,7 @@ suspend fun doSomethingUsefulTwo(): Int { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-compose-03.kt). > {style="note"} @@ -272,7 +272,7 @@ suspend fun doSomethingUsefulTwo(): Int { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-compose-04.kt). > {style="note"} @@ -339,7 +339,7 @@ suspend fun doSomethingUsefulTwo(): Int { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-compose-05.kt). > {style="note"} @@ -385,7 +385,7 @@ suspend fun failedConcurrentSum(): Int = coroutineScope { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-compose-06.kt). > {style="note"} diff --git a/docs/topics/coroutine-context-and-dispatchers.md b/docs/topics/coroutine-context-and-dispatchers.md index 3e42edb38c..89498af00e 100644 --- a/docs/topics/coroutine-context-and-dispatchers.md +++ b/docs/topics/coroutine-context-and-dispatchers.md @@ -43,7 +43,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-01.kt). > {style="note"} @@ -105,7 +105,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-02.kt). > {style="note"} @@ -191,7 +191,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-03.kt). > {style="note"} @@ -241,7 +241,7 @@ fun main() { } } ``` - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-04.kt). > {style="note"} @@ -276,7 +276,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-05.kt). > {style="note"} @@ -338,7 +338,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-06.kt). > {style="note"} @@ -380,7 +380,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-07.kt). > {style="note"} @@ -431,7 +431,7 @@ fun main() = runBlocking(CoroutineName("main")) { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-08.kt). > {style="note"} @@ -465,7 +465,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-09.kt). > {style="note"} @@ -560,7 +560,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-10.kt). > {style="note"} @@ -615,7 +615,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-context-11.kt). > {style="note"} diff --git a/docs/topics/coroutines-basics.md b/docs/topics/coroutines-basics.md index 72af2c06ba..68a1a01957 100644 --- a/docs/topics/coroutines-basics.md +++ b/docs/topics/coroutines-basics.md @@ -30,7 +30,7 @@ fun main() = runBlocking { // this: CoroutineScope //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-basic-01.kt). > {style="note"} @@ -105,7 +105,7 @@ suspend fun doWorld() { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-basic-02.kt). > {style="note"} @@ -146,7 +146,7 @@ suspend fun doWorld() = coroutineScope { // this: CoroutineScope //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-basic-03.kt). > {style="note"} @@ -190,7 +190,7 @@ suspend fun doWorld() = coroutineScope { // this: CoroutineScope //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-basic-04.kt). > {style="note"} @@ -231,7 +231,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-basic-05.kt). > {style="note"} @@ -267,7 +267,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-basic-06.kt). > {style="note"} diff --git a/docs/topics/exception-handling.md b/docs/topics/exception-handling.md index 0d369aa710..936688ebf3 100644 --- a/docs/topics/exception-handling.md +++ b/docs/topics/exception-handling.md @@ -52,7 +52,7 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-exceptions-01.kt). > {style="note"} @@ -112,7 +112,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-exceptions-02.kt). > {style="note"} @@ -157,7 +157,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-exceptions-03.kt). > {style="note"} @@ -219,7 +219,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-exceptions-04.kt). > {style="note"} @@ -272,7 +272,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-exceptions-05.kt). > {style="note"} @@ -322,7 +322,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-exceptions-06.kt). > {style="note"} @@ -388,7 +388,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-supervision-01.kt). > {style="note"} @@ -438,7 +438,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-supervision-02.kt). > {style="note"} @@ -484,7 +484,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-supervision-03.kt). > {style="note"} diff --git a/docs/topics/flow.md b/docs/topics/flow.md index a3cb1176c5..3f8c694943 100644 --- a/docs/topics/flow.md +++ b/docs/topics/flow.md @@ -20,8 +20,8 @@ fun main() { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-01.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-01.kt). > {style="note"} @@ -53,8 +53,8 @@ fun main() { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-02.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-02.kt). > {style="note"} @@ -87,8 +87,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-03.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-03.kt). > {style="note"} @@ -131,8 +131,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-04.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-04.kt). > {style="note"} @@ -192,8 +192,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-05.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-05.kt). > {style="note"} @@ -248,8 +248,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-06.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-06.kt). > {style="note"} @@ -289,8 +289,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-07.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-07.kt). > {style="note"} @@ -334,8 +334,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-08.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-08.kt). > {style="note"} @@ -379,8 +379,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-09.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-09.kt). > {style="note"} @@ -427,8 +427,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-10.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-10.kt). > {style="note"} @@ -468,8 +468,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-11.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-11.kt). > {style="note"} @@ -512,8 +512,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-12.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-12.kt). > {style="note"} @@ -575,8 +575,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-13.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-13.kt). > {style="note"} @@ -625,8 +625,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-14.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-14.kt). > {style="note"} @@ -671,8 +671,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-15.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-15.kt). > {style="note"} @@ -726,8 +726,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-16.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-16.kt). > {style="note"} @@ -772,8 +772,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-17.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-17.kt). > {style="note"} @@ -828,8 +828,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-18.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-18.kt). > {style="note"} @@ -878,8 +878,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-19.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-19.kt). > {style="note"} @@ -919,8 +919,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-20.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-20.kt). > {style="note"} @@ -967,8 +967,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-21.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-21.kt). > {style="note"} @@ -997,8 +997,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-22.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-22.kt). > {style="note"} @@ -1071,8 +1071,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-23.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-23.kt). > {style="note"} @@ -1119,8 +1119,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-24.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-24.kt). > {style="note"} @@ -1172,8 +1172,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-25.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-25.kt). > {style="note"} @@ -1230,8 +1230,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-26.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-26.kt). > {style="note"} @@ -1281,8 +1281,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-27.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-27.kt). > {style="note"} @@ -1340,8 +1340,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-28.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-28.kt). > {style="note"} @@ -1383,8 +1383,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-29.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-29.kt). > {style="note"} @@ -1430,8 +1430,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-30.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-30.kt). > {style="note"} @@ -1474,8 +1474,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-31.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-31.kt). > {style="note"} @@ -1512,8 +1512,8 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-32.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-32.kt). > {style="note"} @@ -1547,8 +1547,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-33.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-33.kt). > {style="note"} @@ -1589,8 +1589,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-34.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-34.kt). > {style="note"} @@ -1638,8 +1638,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-35.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-35.kt). > {style="note"} @@ -1675,8 +1675,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-36.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-36.kt). > {style="note"} @@ -1731,8 +1731,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-37.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-37.kt). > {style="note"} @@ -1769,8 +1769,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-38.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-38.kt). > {style="note"} @@ -1807,8 +1807,8 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - -> You can get the full code from [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-39.kt). + +> You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-flow-39.kt). > {style="note"} diff --git a/docs/topics/select-expression.md b/docs/topics/select-expression.md index 77da920247..ded445b260 100644 --- a/docs/topics/select-expression.md +++ b/docs/topics/select-expression.md @@ -99,7 +99,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-select-01.kt). > {style="note"} @@ -194,7 +194,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-select-02.kt). > {style="note"} @@ -279,7 +279,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-select-03.kt). > {style="note"} @@ -363,7 +363,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-select-04.kt). > {style="note"} @@ -472,7 +472,7 @@ fun main() = runBlocking { } ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-select-05.kt). > {style="note"} diff --git a/docs/topics/shared-mutable-state-and-concurrency.md b/docs/topics/shared-mutable-state-and-concurrency.md index 1baf07d066..133c9e2cfe 100644 --- a/docs/topics/shared-mutable-state-and-concurrency.md +++ b/docs/topics/shared-mutable-state-and-concurrency.md @@ -68,7 +68,7 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-sync-01.kt). > {style="note"} @@ -121,7 +121,7 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-sync-02.kt). > {style="note"} @@ -178,7 +178,7 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-sync-03.kt). > {style="note"} @@ -237,7 +237,7 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-sync-04.kt). > {style="note"} @@ -294,7 +294,7 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-sync-05.kt). > {style="note"} @@ -356,7 +356,7 @@ fun main() = runBlocking { //sampleEnd ``` {kotlin-runnable="true" kotlin-min-compiler-version="1.3"} - + > You can get the full code [here](https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/test/guide/example-sync-06.kt). > {style="note"}