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

Method perThreadDispatchQueue

output/java_guava/1.4.17/Dispatcher.java:47–49  ·  view source on GitHub ↗

Returns a dispatcher that queues events that are posted reentrantly on a thread that is already dispatching an event, guaranteeing that all events posted on a single thread are dispatched to all subscribers in the order they are posted. When all subscribers are dispatched to using a direct</i

()

Source from the content-addressed store, hash-verified

45 * any events B and C that are posted to the event bus by the subscribers to A.
46 */
47 static Dispatcher perThreadDispatchQueue() {
48 return new PerThreadQueuedDispatcher();
49 }
50
51 /**
52 * Returns a dispatcher that queues events that are posted in a single global queue. This behavior

Callers 1

EventBusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected