clone of https://github.com/greenrobot/EventBus