File tree 1 file changed +5
-3
lines changed
kotlinx-coroutines-core/jvm/src
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -120,9 +120,11 @@ public interface ThreadContextElement<S> : CoroutineContext.Element {
120
120
*
121
121
* override fun mergeForChild(overwritingElement: CoroutineContext.Element): CoroutineContext
122
122
* // Merge operation defines how to handle situation when both
123
- * // parent coroutine has the element in the context and it was also
124
- * // explicitly passed to a child coroutine.
125
- * // If merge is not defined, the copy of the element can be returned.
123
+ * // the parent coroutine has an element in the context and
124
+ * // an element with the same key was also
125
+ * // explicitly passed to the child coroutine.
126
+ * // If merging does not require special behavior,
127
+ * // the copy of the element can be returned.
126
128
* return TraceContextElement(traceThreadLocal.get()?.copy())
127
129
* }
128
130
* }
You can’t perform that action at this time.
0 commit comments