
com.cookingfox.rxbus_eventbus.RxBusSubscriber Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxbus-eventbus-java Show documentation
Show all versions of rxbus-eventbus-java Show documentation
A simple EventBus using RX Java
The newest version!
package com.cookingfox.rxbus_eventbus;
import rx.Observer;
import rx.Subscription;
import rx.functions.Action1;
/**
* Operations for subscribing to streams.
*/
public interface RxBusSubscriber {
/**
* Subscribes to all events that are emitted on this EventBus.
*
* @param observer The Observer that will handle emissions and notifications from the
* Observable.
* @return A subscription reference with which the observer can stop receiving items before
* the Observable has completed.
*/
Subscription subscribe(Observer
© 2015 - 2025 Weber Informatics LLC | Privacy Policy