Skip to content

Commit f86af23

Browse files
mareklangiewiczqwwdfsad
authored andcommitted
Update coroutines builders kdocs to link to correct param
1 parent 7cc53d9 commit f86af23

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

integration/kotlinx-coroutines-jdk8/src/future/Future.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import kotlin.coroutines.*
1717
* Coroutine context is inherited from a [CoroutineScope], additional context elements can be specified with [context] argument.
1818
* If the context does not have any dispatcher nor any other [ContinuationInterceptor], then [Dispatchers.Default] is used.
1919
* The parent job is inherited from a [CoroutineScope] as well, but it can also be overridden
20-
* with corresponding [coroutineContext] element.
20+
* with corresponding [context] element.
2121
*
2222
* By default, the coroutine is immediately scheduled for execution.
2323
* Other options can be specified via `start` parameter. See [CoroutineStart] for details.

kotlinx-coroutines-core/common/src/Builders.common.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import kotlin.jvm.*
2424
* The coroutine context is inherited from a [CoroutineScope]. Additional context elements can be specified with [context] argument.
2525
* If the context does not have any dispatcher nor any other [ContinuationInterceptor], then [Dispatchers.Default] is used.
2626
* The parent job is inherited from a [CoroutineScope] as well, but it can also be overridden
27-
* with a corresponding [coroutineContext] element.
27+
* with a corresponding [context] element.
2828
*
2929
* By default, the coroutine is immediately scheduled for execution.
3030
* Other start options can be specified via `start` parameter. See [CoroutineStart] for details.
@@ -67,7 +67,7 @@ public fun CoroutineScope.launch(
6767
* Coroutine context is inherited from a [CoroutineScope], additional context elements can be specified with [context] argument.
6868
* If the context does not have any dispatcher nor any other [ContinuationInterceptor], then [Dispatchers.Default] is used.
6969
* The parent job is inherited from a [CoroutineScope] as well, but it can also be overridden
70-
* with corresponding [coroutineContext] element.
70+
* with corresponding [context] element.
7171
*
7272
* By default, the coroutine is immediately scheduled for execution.
7373
* Other options can be specified via `start` parameter. See [CoroutineStart] for details.

kotlinx-coroutines-core/common/src/channels/Broadcast.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fun <E> ReceiveChannel<E>.broadcast(
4545
* Coroutine context is inherited from a [CoroutineScope], additional context elements can be specified with [context] argument.
4646
* If the context does not have any dispatcher nor any other [ContinuationInterceptor], then [Dispatchers.Default] is used.
4747
* The parent job is inherited from a [CoroutineScope] as well, but it can also be overridden
48-
* with corresponding [coroutineContext] element.
48+
* with corresponding [context] element.
4949
*
5050
* Uncaught exceptions in this coroutine close the channel with this exception as a cause and
5151
* the resulting channel becomes _failed_, so that any attempt to receive from such a channel throws exception.

kotlinx-coroutines-core/common/src/channels/Produce.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public suspend fun ProducerScope<*>.awaitClose(block: () -> Unit = {}) {
6969
* The coroutine context is inherited from this [CoroutineScope]. Additional context elements can be specified with the [context] argument.
7070
* If the context does not have any dispatcher or other [ContinuationInterceptor], then [Dispatchers.Default] is used.
7171
* The parent job is inherited from the [CoroutineScope] as well, but it can also be overridden
72-
* with a corresponding [coroutineContext] element.
72+
* with a corresponding [context] element.
7373
*
7474
* Any uncaught exception in this coroutine will close the channel with this exception as the cause and
7575
* the resulting channel will become _failed_, so that any attempt to receive from it thereafter will throw an exception.

kotlinx-coroutines-core/js/src/Promise.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import kotlin.js.*
1313
* Coroutine context is inherited from a [CoroutineScope], additional context elements can be specified with [context] argument.
1414
* If the context does not have any dispatcher nor any other [ContinuationInterceptor], then [Dispatchers.Default] is used.
1515
* The parent job is inherited from a [CoroutineScope] as well, but it can also be overridden
16-
* with corresponding [coroutineContext] element.
16+
* with corresponding [context] element.
1717
*
1818
* By default, the coroutine is immediately scheduled for execution.
1919
* Other options can be specified via `start` parameter. See [CoroutineStart] for details.

kotlinx-coroutines-core/jvm/src/channels/Actor.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public interface ActorScope<E> : CoroutineScope, ReceiveChannel<E> {
4141
* Coroutine context is inherited from a [CoroutineScope], additional context elements can be specified with [context] argument.
4242
* If the context does not have any dispatcher nor any other [ContinuationInterceptor], then [Dispatchers.Default] is used.
4343
* The parent job is inherited from a [CoroutineScope] as well, but it can also be overridden
44-
* with corresponding [coroutineContext] element.
44+
* with corresponding [context] element.
4545
*
4646
* By default, the coroutine is immediately scheduled for execution.
4747
* Other options can be specified via `start` parameter. See [CoroutineStart] for details.

0 commit comments

Comments
 (0)