microservices kafka rabbitmq service-bus eventbus distributed-transactions outbox-pattern Updated Apr 18, 2025 C# JeremyLiao / LiveEventBus Star 3.9k Code Issues Pull requests 📬EventBus for Android,消息总线,基于LiveData,具有生命周期感知能力,支持Sticky,支持AndroidX,支持跨进程,支持跨APP eventbus...
Star Here are 93 public repositories matching this topic... Language:JavaScript Sort:Most stars Let Vue.js support global events vuejsvueeventbus UpdatedApr 9, 2021 JavaScript fabienjuif/use-bus Star97 React hook to subscribe and dispatch events accros React components ...
public class RightFragment extends Fragment {private TextView tv;@Overridepublic void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);// 界面创建时,订阅事件, 接受消息EventBus.getDefault().register(this);}@Overridepublic void onDestroy() {super.onDestroy();// 界面销毁时,取...
eventbus是基于Spring Boot Starter的分布式业务消息分发总线组件(发布/订阅模式),支持延时消息。可使用Redis、RabbitMQ、RocketMQ等任意一种做底层的消息引擎,开源不易,点个Star关注更新吧。 Github项目地址:https://github.com/likavn/event https://gitee.com/likavn/eventb eventbus简介 eventbus是分布式业务消息...
EventBus GitHub 地址 : https://github.com/greenrobot/EventBus EventBus 文档 : https://greenrobot.org/eventbus/Documentation/ 二、EventBus 使用流程 参考https://github.com/greenrobot/EventBus 中的使用步骤 ; 1 . 导入 EventBus 依赖 ; implementation 'org.greenrobot:eventbus:3.2.0' ...
Android - github EventBus 转载至:Android EventBus源码解析 带你深入理解EventBus EventBus 1、注册:EventBus.getDefault().register(this);//this:Activity 2、解除注册:EventBus.getDefault().unregister(this);//this:Activity 3、发布事件:EventBus.getDefault().post(new Event()); //Event为自定义类型...
Event bus for Android and Java that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality. 最后更新于4 days ago License Apache license 2.0 资源链接 http://greenrobot.org/eventbus/ https://github.com/greenrobot/EventBus...
github.com/greenrobot/E 1 概述 EventBus Publisher 将 Event 交给 EventBusEventBus 转交给 SubscriberSubscriber 在其回调中消费处理 Event 提供能力: ThreadMode StickyEvent (ClassType <-> Event) subscribe priority & Event Cancle 2 原理 register 将会在该类内部进行解析,带有 subscribe 注解的方法会被提取为...
作为Markus Junginger大神耗时4年打磨、超过1亿接入量、Github 9000+ star 的明星级组件,分析 EventBus 的文章早已是数不胜数。本文的题目是“教你飙巴士”,而这辆Bus之所以可以飙起来,是因为作者在 EventBus 3中引入了EventBusAnnotationProcessor(注解分析生成索引)技术,大大提高了 EventBus 的运行效率。而分析这个...
开源项目地址:https://github.com/greenrobot/EventBus EventBus主页:http://greenrobot.org/eventBus/ github项目地址中关于EventBus的简介: Event bus forAndroidandJavathat simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality. 即,Event 简化了活动、碎片、...