MCPcopy Create free account
hub / github.com/antlr/codebuff / dispatchEvent

Method dispatchEvent

output/java_guava/1.4.17/Subscriber.java:74–85  ·  view source on GitHub ↗

Dispatches event to this subscriber using the proper executor.

(final Object event)

Source from the content-addressed store, hash-verified

72 */
73
74 final void dispatchEvent(final Object event) {
75 executor.execute(new Runnable() {
76 @Override
77 public void run() {
78 try {
79 invokeSubscriberMethod(event);
80 } catch (InvocationTargetException e) {
81 bus.handleSubscriberException(e.getCause(), context(event));
82 }
83 }
84 });
85 }
86
87 /**
88 * Invokes the subscriber method. This method can be overridden to make the invocation

Callers 3

dispatchMethod · 0.45
dispatchMethod · 0.45
dispatchMethod · 0.45

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected