- Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)theme: kotlinAn issue related to Kotlin supportAn issue related to Kotlin supporttype: enhancementA general enhancementA general enhancement
Milestone
Description
This enhancement intends to refine PropagationContextElement
by:
- Capturing the
ThreadLocal
when instantiating thePropagationContextElement
in order to support dispatchers switching threads - Removing the constructor parameter which is not idiomatic and breaks the support when switching threads, and use instead the
updateThreadContext(context: CoroutineContext)
parameter - Making the
kotlinx-coroutines-reactor
dependency optional - Making the properties private
- Documentation the recommended usage as
Dispatchers.IO + PropagationContextElement()
cc @bclozel
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)theme: kotlinAn issue related to Kotlin supportAn issue related to Kotlin supporttype: enhancementA general enhancementA general enhancement