Skip to content

Add the ability to throw NoSubscriberException#740

Open
MoYu-zc wants to merge 2 commits intogreenrobot:masterfrom
MoYu-zc:master
Open

Add the ability to throw NoSubscriberException#740
MoYu-zc wants to merge 2 commits intogreenrobot:masterfrom
MoYu-zc:master

Conversation

@MoYu-zc
Copy link

@MoYu-zc MoYu-zc commented Nov 19, 2025

Fails if no subscriber is found for a posted event
This is useful for critical events that must have a subscriber. For example, in startup scenarios where bean registration hasn't completed yet, you might want to catch configuration errors early.

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