Skip to content

Conversation

axel7083
Copy link
Contributor

What does this PR do?

Resolving the following todo

// TODO(feloy) need to subscribe several times?

When creating a store we can provide a list of events

The RPCReadable implemention will subscribe to the MessageProxy using the provided channel.

What happen if two store try to subscribe to the same event ? Only the last one is kept.

This PR change it by having a Set instead to be able to manage several listeners.

Screenshot / video of UI

What issues does this PR fix or reference?

Found this problem while working on #1851

How to test this PR?

  • unit tests has been provided

@axel7083 axel7083 requested review from benoitf, jeffmaury and a team as code owners January 15, 2025 14:22
@axel7083 axel7083 marked this pull request as draft January 15, 2025 15:26
Signed-off-by: axel7083 <[email protected]>
@axel7083 axel7083 marked this pull request as ready for review January 15, 2025 16:40
Copy link
Collaborator

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

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

LGTM

@axel7083 axel7083 merged commit 4b3d39e into containers:main Jan 16, 2025
7 checks passed
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.

3 participants