-
So the Mutiny documentation has a very non-specific warning about the use of the emitOn method with non thread-safe objects such as request scoped cdi beans. However, I can't find any additional information about this warning. I'm hoping someone in the community can enlighten me as to what I should be careful with explicity.
Does the emit on effect upstream request scoped beans? Or is the concern downstream? Or is there no way to tell? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
/cc @cescoffier (mutiny), @jponge (mutiny) |
Beta Was this translation helpful? Give feedback.
-
It's a concern downstream, because |
Beta Was this translation helpful? Give feedback.
Not something you have to avoid, just be mindful of the threading model underneath (see https://quarkus.io/guides/quarkus-reactive-architecture)