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

4.1.0 #7

Open
wants to merge 3 commits into
base: 4.1.0
Choose a base branch
from
Open

4.1.0 #7

wants to merge 3 commits into from

Conversation

CadenCCC
Copy link

Added support for annotated subscribers, The way I am doing this is by treating every method annotated with Listener as a standalone Listener.

This is an example of how someone would implement this:

public class OtherObject {
    
    public OtherObject {
        eventBus.subscribe(new AnnotatedSubscriber(this);
    }

    @Listener // This gets treated as a listener
    public void randomListener(OtherEvent event) {
        System.out.println(event.toString());
    }

}

@7orivorian
Copy link
Owner

7orivorian commented Jan 2, 2025

Needs a complete set of JUnit tests. I also need you to make a pull request on the documentation site's repo. Examples on how to write documentation for MkDocs-Material can be found there and here.

@7orivorian 7orivorian added enhancement New feature or request good first issue Good for newcomers labels Jan 2, 2025
@7orivorian 7orivorian self-assigned this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants