EventBus
EventBus copied to clipboard
ThreadMode MAIN_ORDERED: poster not decoupled if not Android
Currently, when using @Subscribe(threadMode = MAIN_ORDERED) in a plain-Java (not Android) project, the event is posted directly, blocking the posting thread.
Expected: the event is queued and the post call is non-blocking, decoupling the poster from the subscriber.
This likely requires using an internal queue to store and deliver events in the order they were posted.
Reference: #307 #308 -ut
Any news about decoupling poster from subscriber in plain java? Thanks a lot.
Use threadMode = Async and they will be uncoupled.