官术网_书友最值得收藏!

Reactive types of RxJava 2

Even though the RxJava 2.x library and Project Reactor have the same basis, RxJava 2 has a different set of reactive publishers. As these two libraries implement the same ideas, it is worth describing how RxJava 2 differs, at least regarding reactive types. All other aspects, including reactive operators, thread management, and error handling, are pretty similar. So, being more or less familiar with one of the libraries means being familiar with both of them.

As described in Chapter 2Reactive Programming in Spring - Basic Concepts, RxJava 1.x originally had only one reactive type: Observable. Later, the Single and Completable types were added. In version 2, the library has the following reactive types—ObservableFlowableSingleMaybe, and Completable.  Let's briefly describe the difference between these and compare them to the Flux/Mono tandem.

主站蜘蛛池模板: 遵义市| 龙山县| 密山市| 商城县| 赣州市| 昆明市| 农安县| 孟州市| 开远市| 临漳县| 文成县| 从化市| 巴中市| 富蕴县| 江孜县| 怀来县| 夏河县| 英山县| 台东市| 山阳县| 永春县| 清河县| 通化市| 新竹县| 全南县| 万载县| 全南县| 张掖市| 宽甸| 新干县| 梁河县| 万全县| 修武县| 太和县| 射阳县| 余姚市| 河南省| 泉州市| 凌云县| 南通市| 襄城县|