Constructor and Description |
---|
DefaultEventBus(Scheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
Observable<Event> |
get()
Subscribe to the event bus and
Event s. |
void |
publish(Event event)
Publish a
Event to the bus. |
public DefaultEventBus(Scheduler scheduler)
public Observable<Event> get()
EventBus
Event
s. The Observable
drops events on backpressure to avoid contention.Copyright © 2018 lettuce.io. All rights reserved.