Difference between revisions of "RxJava"

From BITPlan Wiki
Jump to navigation Jump to search
Line 72: Line 72:
 
     void unsubscribe()
 
     void unsubscribe()
 
   }
 
   }
 +
  note top of Subscription
 +
Subscription returns from
 +
Observable.subscribe(Subscriber)
 +
to allow unsubscribing
 +
see [[http://reactivex.io/RxJava/javadoc/rx/Observer.html javadoc]].
 +
end note
 
   interface Subscription {
 
   interface Subscription {
 
     boolean isUnsubscribed()
 
     boolean isUnsubscribed()

Revision as of 13:48, 2 March 2020