Skip to content

Commit bcbcd16

Browse files
qwwdfsadkamildoleglodkhalanskyjb
authored
Upgrade to newest Dokka and Knit (Kotlin#2805)
* Migrate to Dokka pre-1.5.0 Co-authored-by: Kamil Doległo <[email protected]> Co-authored-by: dkhalanskyjb <[email protected]>
1 parent 074cc3f commit bcbcd16

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+294
-1048
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ suspend fun main() = coroutineScope {
3535
* [select] expression support and more.
3636
* [core/jvm](kotlinx-coroutines-core/jvm/) &mdash; additional core features available on Kotlin/JVM:
3737
* [Dispatchers.IO] dispatcher for blocking coroutines;
38-
* [Executor.asCoroutineDispatcher] extension, custom thread pools, and more.
38+
* [Executor.asCoroutineDispatcher][asCoroutineDispatcher] extension, custom thread pools, and more.
3939
* [core/js](kotlinx-coroutines-core/js/) &mdash; additional core features available on Kotlin/JS:
4040
* Integration with `Promise` via [Promise.await] and [promise] builder;
4141
* Integration with `Window` via [Window.asCoroutineDispatcher], etc.
@@ -233,10 +233,10 @@ See [Contributing Guidelines](CONTRIBUTING.md).
233233
[SupervisorJob()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-supervisor-job.html
234234
[CoroutineExceptionHandler]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-exception-handler/index.html
235235
[Dispatchers.IO]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-dispatchers/-i-o.html
236-
[Executor.asCoroutineDispatcher]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/java.util.concurrent.-executor/as-coroutine-dispatcher.html
237-
[Promise.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/kotlin.js.-promise/await.html
236+
[asCoroutineDispatcher]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/as-coroutine-dispatcher.html
237+
[Promise.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/await.html
238238
[promise]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/promise.html
239-
[Window.asCoroutineDispatcher]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/org.w3c.dom.-window/as-coroutine-dispatcher.html
239+
[Window.asCoroutineDispatcher]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/as-coroutine-dispatcher.html
240240

241241
<!--- INDEX kotlinx.coroutines.flow -->
242242

@@ -261,7 +261,7 @@ See [Contributing Guidelines](CONTRIBUTING.md).
261261
<!--- MODULE kotlinx-coroutines-test -->
262262
<!--- INDEX kotlinx.coroutines.test -->
263263

264-
[Dispatchers.setMain]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/kotlinx.coroutines.-dispatchers/set-main.html
264+
[Dispatchers.setMain]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/set-main.html
265265
[TestCoroutineScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/-test-coroutine-scope/index.html
266266

267267
<!--- MODULE kotlinx-coroutines-debug -->
@@ -281,23 +281,23 @@ See [Contributing Guidelines](CONTRIBUTING.md).
281281
<!--- MODULE kotlinx-coroutines-jdk8 -->
282282
<!--- INDEX kotlinx.coroutines.future -->
283283

284-
[CompletionStage.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-jdk8/kotlinx.coroutines.future/java.util.concurrent.-completion-stage/await.html
284+
[CompletionStage.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-jdk8/kotlinx.coroutines.future/await.html
285285

286286
<!--- MODULE kotlinx-coroutines-guava -->
287287
<!--- INDEX kotlinx.coroutines.guava -->
288288

289-
[ListenableFuture.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-guava/kotlinx.coroutines.guava/com.google.common.util.concurrent.-listenable-future/await.html
289+
[ListenableFuture.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-guava/kotlinx.coroutines.guava/await.html
290290

291291
<!--- MODULE kotlinx-coroutines-play-services -->
292292
<!--- INDEX kotlinx.coroutines.tasks -->
293293

294-
[Task.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-play-services/kotlinx.coroutines.tasks/com.google.android.gms.tasks.-task/await.html
294+
[Task.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-play-services/kotlinx.coroutines.tasks/await.html
295295

296296
<!--- MODULE kotlinx-coroutines-reactive -->
297297
<!--- INDEX kotlinx.coroutines.reactive -->
298298

299-
[Publisher.collect]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/org.reactivestreams.-publisher/collect.html
300-
[Publisher.awaitSingle]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/org.reactivestreams.-publisher/await-single.html
299+
[Publisher.collect]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/collect.html
300+
[Publisher.awaitSingle]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/await-single.html
301301
[kotlinx.coroutines.reactive.publish]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-reactive/kotlinx.coroutines.reactive/publish.html
302302

303303
<!--- MODULE kotlinx-coroutines-rx2 -->

build.gradle

+26-15
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44

55
import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
66
import org.jetbrains.kotlin.konan.target.HostManager
7+
import org.gradle.util.VersionNumber
8+
import org.jetbrains.dokka.gradle.DokkaTaskPartial
9+
import org.jetbrains.dokka.gradle.DokkaMultiModuleTask
710

811
apply plugin: 'jdk-convention'
912
apply from: rootProject.file("gradle/experimental.gradle")
1013

1114
def coreModule = "kotlinx-coroutines-core"
1215
// Not applicable for Kotlin plugin
13-
def sourceless = ['kotlinx.coroutines', 'site', 'kotlinx-coroutines-bom', 'integration-testing']
14-
def internal = ['kotlinx.coroutines', 'site', 'benchmarks', 'js-stub', 'stdlib-stubs', 'integration-testing']
16+
def sourceless = ['kotlinx.coroutines', 'kotlinx-coroutines-bom', 'integration-testing']
17+
def internal = ['kotlinx.coroutines', 'benchmarks', 'integration-testing']
1518
// Not published
1619
def unpublished = internal + ['example-frontend-js', 'android-unit-tests']
1720

@@ -43,7 +46,7 @@ buildscript {
4346
rootProject.properties.each { key, value ->
4447
if (key.endsWith("_version") && value instanceof String && value.endsWith("-SNAPSHOT")) {
4548
println("NOTE: USING SNAPSHOT VERSION: $key=$value")
46-
ext.using_snapshot_version=true
49+
ext.using_snapshot_version = true
4750
}
4851
}
4952

@@ -54,11 +57,10 @@ buildscript {
5457
}
5558

5659
repositories {
57-
// Leftover until we migrated to Dokka 1.4.30
58-
maven { url "https://kotlin.bintray.com/kotlin-dev" }
59-
maven { url "https://jetbrains.bintray.com/kotlin-native-dependencies" }
60+
maven { url "https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev/" }
6061
maven { url "https://plugins.gradle.org/m2/" }
6162
maven { url "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev" }
63+
mavenLocal()
6264
}
6365

6466
dependencies {
@@ -125,7 +127,6 @@ apply plugin: "binary-compatibility-validator"
125127
apiValidation {
126128
ignoredProjects += unpublished + ["kotlinx-coroutines-bom"]
127129
if (build_snapshot_train) {
128-
ignoredProjects.remove("site")
129130
ignoredProjects.remove("example-frontend-js")
130131
ignoredProjects.add("kotlinx-coroutines-core")
131132
}
@@ -139,6 +140,8 @@ allprojects {
139140
* google should be first in the repository list because some of the play services
140141
* transitive dependencies was removed from jcenter, thus breaking gradle dependency resolution
141142
*/
143+
mavenLocal()
144+
maven { url "https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev/" }
142145
google()
143146
mavenCentral()
144147
}
@@ -225,23 +228,25 @@ configure(subprojects.findAll {
225228
}
226229

227230
def core_docs_url = "https://kotlin.github.io/kotlinx.coroutines/$coreModule/"
228-
def core_docs_file = "$projectDir/kotlinx-coroutines-core/build/dokka/kotlinx-coroutines-core/package-list"
231+
def core_docs_file = "$projectDir/kotlinx-coroutines-core/build/dokka/htmlPartial/package-list"
232+
apply plugin: "org.jetbrains.dokka"
229233

230234
configure(subprojects.findAll { !unpublished.contains(it.name) }) {
231235
if (it.name != 'kotlinx-coroutines-bom') {
232-
apply from: rootProject.file('gradle/dokka.gradle')
236+
apply from: rootProject.file('gradle/dokka.gradle.kts')
233237
}
234238
apply from: rootProject.file('gradle/publish.gradle')
235239
}
236240

237241
configure(subprojects.findAll { !unpublished.contains(it.name) }) {
238242
if (it.name != "kotlinx-coroutines-bom") {
239243
if (it.name != coreModule) {
240-
dokka.dependsOn project(":$coreModule").dokka
241-
tasks.withType(dokka.getClass()) {
242-
externalDocumentationLink {
243-
url = new URL(core_docs_url)
244-
packageListUrl = new File(core_docs_file).toURI().toURL()
244+
tasks.withType(DokkaTaskPartial.class) {
245+
dokkaSourceSets.configureEach {
246+
externalDocumentationLink {
247+
url.set(new URL(core_docs_url))
248+
packageListUrl.set(new File(core_docs_file).toURI().toURL())
249+
}
245250
}
246251
}
247252
}
@@ -274,9 +279,15 @@ apply plugin: 'kotlinx-knit'
274279
knit {
275280
siteRoot = "https://kotlin.github.io/kotlinx.coroutines"
276281
moduleRoots = [".", "integration", "reactive", "ui"]
282+
moduleDocs = "build/dokka/htmlPartial"
283+
dokkaMultiModuleRoot = "build/dokka/htmlMultiModule/"
277284
}
278285

279-
knitPrepare.dependsOn getTasksByName("dokka", true)
286+
knitPrepare.dependsOn getTasksByName("dokkaHtmlMultiModule", true)
287+
288+
dependencies {
289+
dokkaHtmlMultiModulePlugin("org.jetbrains.kotlinx:dokka-pathsaver-plugin:$knit_version")
290+
}
280291

281292
// Disable binary compatibility check for JVM IR compiler output by default
282293
if (jvm_ir_enabled) {

buildSrc/build.gradle.kts

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ val cacheRedirectorEnabled = System.getenv("CACHE_REDIRECTOR")?.toBoolean() == t
1212
val buildSnapshotTrain = properties["build_snapshot_train"]?.toString()?.toBoolean() == true
1313

1414
repositories {
15+
maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev/")
16+
mavenLocal()
17+
1518
if (cacheRedirectorEnabled) {
1619
maven("https://cache-redirector.jetbrains.com/plugins.gradle.org/m2")
1720
maven("https://cache-redirector.jetbrains.com/dl.bintray.com/kotlin/kotlin-dev")
@@ -47,4 +50,5 @@ fun version(target: String): String {
4750
dependencies {
4851
implementation(kotlin("gradle-plugin", version("kotlin")))
4952
implementation("org.jetbrains.dokka:dokka-gradle-plugin:${version("dokka")}")
53+
implementation("org.jetbrains.dokka:dokka-core:${version("dokka")}")
5054
}

buildSrc/settings.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
pluginManagement {
55
val build_snapshot_train: String? by settings
66
repositories {
7+
maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/dokka/dev/")
78
val cacheRedirectorEnabled = System.getenv("CACHE_REDIRECTOR")?.toBoolean() == true
89
if (cacheRedirectorEnabled) {
910
println("Redirecting repositories for buildSrc buildscript")

buildSrc/src/main/kotlin/Dokka.kt

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

5-
import org.gradle.api.Project
6-
import org.gradle.kotlin.dsl.delegateClosureOf
7-
import org.gradle.kotlin.dsl.withType
8-
import org.jetbrains.dokka.DokkaConfiguration.ExternalDocumentationLink.Builder
9-
import org.jetbrains.dokka.gradle.DokkaTask
10-
import java.io.File
11-
import java.net.URL
5+
import org.gradle.api.*
6+
import org.gradle.kotlin.dsl.*
7+
import org.jetbrains.dokka.gradle.*
8+
import java.io.*
9+
import java.net.*
1210

1311
/**
1412
* Package-list by external URL for documentation generation.
@@ -17,10 +15,12 @@ fun Project.externalDocumentationLink(
1715
url: String,
1816
packageList: File = projectDir.resolve("package.list")
1917
) {
20-
tasks.withType<DokkaTask>().configureEach {
21-
externalDocumentationLink(delegateClosureOf<Builder> {
22-
this.url = URL(url)
23-
packageListUrl = packageList.toPath().toUri().toURL()
24-
})
18+
tasks.withType<AbstractDokkaLeafTask>().configureEach {
19+
dokkaSourceSets.configureEach {
20+
externalDocumentationLink {
21+
this.url.set(URL(url))
22+
packageListUrl.set(packageList.toPath().toUri().toURL())
23+
}
24+
}
2525
}
2626
}

docs/topics/cancellation-and-timeouts.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -447,15 +447,15 @@ This example always prints zero. Resources do not leak.
447447
[launch]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/launch.html
448448
[Job]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/index.html
449449
[cancelAndJoin]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/cancel-and-join.html
450-
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/cancel.html
450+
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/cancel.html
451451
[Job.join]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/join.html
452452
[CancellationException]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-cancellation-exception/index.html
453453
[yield]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/yield.html
454454
[isActive]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/is-active.html
455455
[CoroutineScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope/index.html
456456
[withContext]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/with-context.html
457-
[NonCancellable]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-non-cancellable.html
457+
[NonCancellable]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-non-cancellable/index.html
458458
[withTimeout]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/with-timeout.html
459459
[withTimeoutOrNull]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/with-timeout-or-null.html
460460

461-
<!--- END -->
461+
<!--- END -->

docs/topics/channels.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ delay between elements.
626626

627627
[CoroutineScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope/index.html
628628
[runBlocking]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/run-blocking.html
629-
[kotlin.coroutines.CoroutineContext.cancelChildren]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/kotlin.coroutines.-coroutine-context/cancel-children.html
629+
[kotlin.coroutines.CoroutineContext.cancelChildren]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/cancel-children.html
630630
[Dispatchers.Default]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-dispatchers/-default.html
631631

632632
<!--- INDEX kotlinx.coroutines.channels -->
@@ -640,7 +640,7 @@ delay between elements.
640640
[Channel()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/-channel.html
641641
[ticker]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/ticker.html
642642
[ReceiveChannel.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/-receive-channel/cancel.html
643-
[TickerMode.FIXED_DELAY]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/-ticker-mode/-f-i-x-e-d_-d-e-l-a-y.html
643+
[TickerMode.FIXED_DELAY]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.channels/-ticker-mode/-f-i-x-e-d_-d-e-l-a-y/index.html
644644

645645
<!--- INDEX kotlinx.coroutines.selects -->
646646

docs/topics/composing-suspending-functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ Computation failed with ArithmeticException
406406
[launch]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/launch.html
407407
[Job]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/index.html
408408
[Deferred]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-deferred/index.html
409-
[CoroutineStart.LAZY]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-start/-l-a-z-y.html
409+
[CoroutineStart.LAZY]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-start/-l-a-z-y/index.html
410410
[Deferred.await]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-deferred/await.html
411411
[Job.start]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/start.html
412412
[GlobalScope]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-global-scope/index.html

docs/topics/coroutine-context-and-dispatchers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,8 @@ that should be implemented.
678678
[CoroutineScope()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-scope.html
679679
[MainScope()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-main-scope.html
680680
[Dispatchers.Main]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-dispatchers/-main.html
681-
[asContextElement]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/java.lang.-thread-local/as-context-element.html
682-
[ensurePresent]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/java.lang.-thread-local/ensure-present.html
681+
[asContextElement]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/as-context-element.html
682+
[ensurePresent]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/ensure-present.html
683683
[ThreadContextElement]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-thread-context-element/index.html
684684

685685
<!--- END -->

docs/topics/exception-handling.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ The scope is completed
508508
[CoroutineExceptionHandler]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-coroutine-exception-handler/index.html
509509
[Job]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/index.html
510510
[Deferred]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-deferred/index.html
511-
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job/cancel.html
511+
[Job.cancel]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/cancel.html
512512
[runBlocking]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/run-blocking.html
513513
[SupervisorJob()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-supervisor-job.html
514514
[Job()]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-job.html

0 commit comments

Comments
 (0)