mergeForChild
abstract fun mergeForChild(overwritingElement: CoroutineContext.Element): CoroutineContext
Content copied to clipboard
Returns a CopyableThreadContextElement to replace this
CopyableThreadContextElement
in the child coroutine's context that is under construction if the added context does contain an element with the same key.
This method is invoked on the original element, accepting as the parameter the element that is supposed to overwrite it.