Under the subjects package you have classes like PublishSubject and BehaviorSubject which I suppose can be described as some usable sa
All Subjects extend Observable which you can subscribe to using any of the multiple subscribe(...) methods. Call to any of the subscribe(...) methods returns a Subscription.
Subscription subscription = anySubject.subscribe(...);
Use this subscription instance's unsubscribe() method when you want to stop listening to the events from the Subject.
subscription.unsubscribe();