Skip to content

refactor(queue): support multiple handlers per queue#1512

Open
william-p wants to merge 1 commit intoapache:devfrom
william-p:tweakEventHandler
Open

refactor(queue): support multiple handlers per queue#1512
william-p wants to merge 1 commit intoapache:devfrom
william-p:tweakEventHandler

Conversation

@william-p
Copy link

@william-p william-p commented Mar 4, 2026

This PR refactors the internal message queue to support registering multiple handlers per queue instead of a single one.

Previously, calling RegisterHandler would overwrite the existing handler. Now, each call appends to a list of handlers, and all registered handlers are invoked for every message.

[nb: I am not a Go developer but I have (tried) to intelligently use AI to help me]

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

Successfully merging this pull request may close these issues.

1 participant