Difference between revisions of "RxJava"
Jump to navigation
Jump to search
| Line 16: | Line 16: | ||
<uml> | <uml> | ||
hide circle | hide circle | ||
| + | package org { | ||
| + | package reactivestreams { | ||
| + | note top of Subscriber | ||
| + | Will receive call to onSubscribe(Subscription) | ||
| + | once after passing an instance of | ||
| + | Subscriber to Publisher.subscribe(Subscriber). | ||
| + | |||
| + | No further notifications will be received | ||
| + | until Subscription.request(long) is called. | ||
| + | see [[https://www.reactive-streams.org/reactive-streams-1.0.0-javadoc/org/reactivestreams/Subscriber.html javadoc]] | ||
| + | end note | ||
| + | interface Subscriber { | ||
| + | void onComplete() | ||
| + | void onError(java.lang.Throwable t) | ||
| + | void onNext(T t) | ||
| + | void onSubscribe(Subscription s) | ||
| + | } | ||
| + | } | ||
| + | } | ||
package io { | package io { | ||
package reactivex { | package reactivex { | ||
Revision as of 13:56, 2 March 2020
Click here to comment see Self Driving RC Car
github
Versions
RxJava 3
3.0.0 was released 2020-02-14
- https://mvnrepository.com/artifact/io.reactivex.rxjava3/rxjava
- https://github.com/ReactiveX/RxJava/wiki/What's-different-in-3.0
RxJava 2
2.0.0 was released 2016-11-29 there will be bugfixes until 2021-02-28
- https://mvnrepository.com/artifact/io.reactivex.rxjava2/rxjava
- https://github.com/ReactiveX/RxJava/wiki/What%27s-different-in-2.0
- https://blog.kaush.co/2017/06/21/rxjava1-rxjava2-migration-understanding-changes/

RxJava 1
1.0.0 was released 2014-11

Links
- https://vertx.io/docs/vertx-rx/java/
- https://github.com/ReactiveX/RxJava/wiki/How-To-Use-RxJava
- http://reactivex.io/RxJava/javadoc/io/reactivex/Observable.html
- https://github.com/ReactiveX/RxJava/wiki/Backpressure
- Not so obvious things about rxjava
- https://github.com/ReactiveX/RxJava/wiki/Creating-Observables
- http://akarnokd.blogspot.com/2016/03/operator-fusion-part-1.html
- https://www.littlerobots.nl/blog/Note-to-self-RxJava-SyncOnSubscribe/
- https://pedroo21.github.io/RxJava/