RxJava: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
Line 58: Line 58:
   }
   }
note top of Subscriber
note top of Subscriber
Provides a mechanism for receiving push-based notifications from Observables, and permits manual unsubscribing from these Observables see [[http://reactivex.io/RxJava/javadoc/rx/Subscriber.html javadoc]].
Provides a mechanism  
for receiving push-based notifications  
from Observables, and permits manual  
unsubscribing from these Observables  
see [[http://reactivex.io/RxJava/javadoc/rx/Subscriber.html javadoc]].
end note
end note
   interface Subscriber {
   interface Subscriber {
    void add(Subscription s)
    boolean isUnsubscribed()
    void onStart()
    protected void request(long n)
    void setProducer(Producer p)
    void unsubscribe()
   }
   }
   interface Subscription {
   interface Subscription {

Revision as of 12:45, 2 March 2020