We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db0d613 commit 20bedf9Copy full SHA for 20bedf9
kotlinx-coroutines-core/jvm/src/ThreadContextElement.kt
@@ -155,8 +155,8 @@ public interface CopyableThreadContextElement<S> : ThreadContextElement<S> {
155
* coroutine's context when the child coroutine's context contains an element with the same [key] as the
156
* current one.
157
*
158
- * This function is called on current element, supplied with an element retrieved from child's
159
- * coroutine context by the current [key].
+ * This method is invoked on the original element, accepting as the parameter
+ * the element that is supposed to overwrite it.
160
*/
161
public fun mergeForChild(overwritingElement: CoroutineContext.Element): CoroutineContext
162
}
0 commit comments