invoke
Creates a new EventBus with the default error handler (Throwable::printStackTrace).
Creates a new EventBus with an async executor for async handler dispatch.
Handlers annotated with @Subscribe(async = true) or registered with async = true will be dispatched on asyncExecutor. Pass null to get the same result as invoke with no arguments.
Parameters
Executor for async handlers; null disables async dispatch.
Creates a new EventBus with a custom exception handler.
Kotlin callers use this overload; Java callers use createWithHandler.
Parameters
Invoked on the posting thread whenever a handler throws.
Creates a new EventBus with both an async executor and a custom exception handler.
Parameters
Executor for async handlers; null disables async dispatch.
Invoked on the posting thread whenever a handler throws.