订阅者回调签名 typedef void EventCallback(arg); class EventBus { //私有构造 ... _internal(); //工厂构造函数 factory EventBus()=> _singleton; //保存事件订阅 ...
確定! 回上一頁