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

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.

主站蜘蛛池模板: 瓮安县| 新野县| 通辽市| 陇西县| 体育| 宾川县| 潮州市| 互助| 和田市| 平邑县| 东宁县| 岚皋县| 湖南省| 海阳市| 太湖县| 逊克县| 合水县| 广水市| 介休市| 宜川县| 舒城县| 平昌县| 涪陵区| 尉犁县| 白沙| 望奎县| 荥阳市| 堆龙德庆县| 南乐县| 贵定县| 澳门| 楚雄市| 南丹县| 天津市| 伊川县| 麻栗坡县| 同仁县| 全椒县| 北安市| 鸡东县| 齐齐哈尔市|