Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Kotlin coroutines #128

Open
sjoerdtalsma opened this issue Jul 9, 2019 · 3 comments
Open

Support Kotlin coroutines #128

sjoerdtalsma opened this issue Jul 9, 2019 · 3 comments

Comments

@sjoerdtalsma
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Kotlin coroutines are stored in memory and have their own contexts and can be scheduled to resume on different threads.

ThreadLocal contexts won't work with coroutines out of the box.

Describe the solution you'd like

Support coroutines similar to the solution that was created for Slf4J MDC context: kotlinx-coroutines-slf4j

Describe alternatives you've considered

Additional context

@sjoerdtalsma sjoerdtalsma changed the title Add automatic support for Kotlin coroutines Support Kotlin coroutines Jul 9, 2019
@sjoerdtalsma
Copy link
Contributor Author

See Kotlin/kotlinx.coroutines#119

@codefromthecrypt
Copy link

codefromthecrypt commented Jul 9, 2019 via email

@sjoerdtalsma
Copy link
Contributor Author

As I don't use Kotlin in production at this moment, I feel I would not be able to provide reasonable usecases for the tests to write.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants