Class DefaultEventBus

    • Constructor Detail

      • DefaultEventBus

        public DefaultEventBus​(Scheduler scheduler)
    • Method Detail

      • get

        public Flux<Event> get()
        Description copied from interface: EventBus
        Subscribe to the event bus and Events. The Flux drops events on backpressure to avoid contention.
        Specified by:
        get in interface EventBus
        Returns:
        the observable to obtain events.
      • publish

        public void publish​(Event event)
        Description copied from interface: EventBus
        Publish a Event to the bus.
        Specified by:
        publish in interface EventBus
        Parameters:
        event - the event to publish