Open
Description
The cancellable event bus has custom addListener
events to handle listeners that cancel the event. There is one such method: addListener(boolean, Consumer<T>)
, where true
causes the listener to always be cancelled. Even with documentation, I fear that this method may be confusing to those reading the code, and is an unnecessary additional parameter for what is effectively a different method call.
I think this should be replaced with something like addListernerCancelling(Consumer<T>)
.
Metadata
Metadata
Assignees
Labels
No labels