@CompileStatic @Slf4j class RxEventBus extends AbstractEventBus
An EventBus implementation that uses RxJava
| Modifiers | Name | Description |
|---|---|---|
protected Map<CharSequence, PublishSubject> |
subjects |
| Fields inherited from class | Fields |
|---|---|
class AbstractEventBus |
subscriptions |
| Constructor and description |
|---|
RxEventBus(Scheduler scheduler) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected ClosureSubscription |
buildClosureSubscription(CharSequence eventId, Closure subscriber) |
|
protected Callable |
buildNotificationCallable(Event event, Collection<Subscription> eventSubscriptions, Closure reply) |
|
protected EventSubscriberSubscription |
buildSubscriberSubscription(CharSequence eventId, Subscriber subscriber) |
| Methods inherited from class | Name |
|---|---|
class AbstractEventBus |
buildClosureSubscription, buildNotificationCallable, buildNotificationTrigger, buildSubscriberSubscription, isActive, notify, notify, notify, on, publish, publish, publish, sendAndReceive, sendAndReceive, subscribe, subscribe, unsubscribeAll |
Groovy Documentation