Skip to content

Flexible coroutine context - #2328

Merged
jknack merged 3 commits into
jooby-project:2.xfrom
codeborne:flexible-coroutine-context
May 10, 2021
Merged

Flexible coroutine context#2328
jknack merged 3 commits into
jooby-project:2.xfrom
codeborne:flexible-coroutine-context

Conversation

@cbxp

@cbxp cbxp commented Apr 28, 2021

Copy link
Copy Markdown

Make it possible to redefine coroutine context for every launch to be able to properly implement suspend/restore of additional state, e.g. MDC, transactions, etc

Fixes #2257

@jknack jknack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, can you revert all the code format changes?

Thank you.

@jknack jknack added this to the 2.9.6 milestone May 10, 2021
@jknack
jknack merged commit 5bdfc8a into jooby-project:2.x May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to redefine CoroutineContext

3 participants