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

make plugin manager hold multiple listeners instead of just one #10

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

thrau
Copy link
Member

@thrau thrau commented Nov 10, 2023

Motivation

Previously, the PluginManager only held a single PluginLifecycleListener. The need to add listeners after a plugin manager has been instantiated has surfaced several times now in localstack.

Changes

This PR changes the PluginManager to hold multiple listeners instead of just one. It also adds a simple test for it using mocks

@thrau thrau merged commit 436623e into main Nov 10, 2023
5 checks passed
@thrau thrau deleted the multi-listeners branch November 10, 2023 09:07
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.

None yet

1 participant