fix comment

This commit is contained in:
Looly 2025-01-18 20:36:22 +08:00
parent 1285f94cb0
commit adf03e7125

View File

@ -32,7 +32,12 @@ public interface EventPublisher {
EventPublisher register(Subscriber subscriber);
/**
* 发布事件事件发布者将事件发布给所有订阅者
* 发布事件事件发布者将事件发布给多个订阅者可以自定义发布策略
* <ul>
* <li>所有订阅者都接收此消息多订阅</li>
* <li>订阅者按照顺序或权重接收此消息接收后其它订阅者不再接收单订阅</li>
* <li>按照自定义规则选择要接收消息的订阅者如根据消息或实践类型选择性多订阅</li>
* </ul>
*
* @param event 事件对象
*/