invoke
Creates a new EventBus with the default error handler (Throwable::printStackTrace).
Creates a new EventBus with a custom error handler invoked whenever a handler throws. Kotlin callers use this overload. Java callers use the java.util.function.Consumer overload instead.
Parameters
exception Handler
Called on the thread that called post if a handler throws.