public abstract class Dispatcher extends Object
Executor used in
EventBus. This controls only the order of the events to be dispatched. On the other hand,
Executor controls how the subscriber's method is called while dispatching the event| Constructor and Description |
|---|
Dispatcher() |
| Modifier and Type | Method and Description |
|---|---|
static Dispatcher |
immediateDispatcher()
Returns a dispatcher that dispatches events to subscribers immediately as they're posted
without using an intermediate queue to change the dispatch order.
|
public static Dispatcher immediateDispatcher()
Copyright © 2019. All rights reserved.