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

Mutable Events in Handlers #17

Open
auriium2 opened this issue Oct 11, 2024 · 1 comment
Open

Mutable Events in Handlers #17

auriium2 opened this issue Oct 11, 2024 · 1 comment

Comments

@auriium2
Copy link

Hello,

I am curious if it is possible to mutate events inside of event handlers with this library? It seems to be possible in the original LMAX disruptor, but not here?

Thank you in advance for your response.

@nicholassm
Copy link
Owner

Hi, no, in short, it's not possible.
You can only get a Producer after giving ownership of the event processors to the disruptor so it's not even possible to pass a Producer to an event processor and publish that way.
Is there any particular scenario you're trying to achieve?

Kind regards
Nicholas

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

No branches or pull requests

2 participants