- Spring 5.0 Projects
- Nilang Patel
- 185字
- 2021-07-02 12:35:04
Operators
We have seen operators like map and filter in previous examples. They are basically used to perform a specific operation on the stream of data and return new Observable to form an Observable chain. Operators themselves are Observers to the Observable they are called on.
RxJava has a rich set of operators used to perform various operations with the following categories:
- Creating observables: The set of operators used to create new Observable.
- Transforming observables: Operators used to transform items emitted by observables they called upon.
- Filtering observable: Operators used to emit selective data.
- Combining observable: Used to combine multiple source observables to form a single Observable.
- Error handling: Operators that are used to recover from the error condition notified from Observable.
- Utility Operator: Used to perform some miscellaneous operations with Observable.
- Conditional and Boolean operators: Used to evaluate one or more Observable or even emitted items.
- Mathematical and aggregate: Operators used to perform various operations on the entire sequence of emitted data.
It is good to visit: http://reactivex.io/documentation/operators.html, to get full details about each of the operators, instead of having details listed here.
推薦閱讀
- 連接未來:從古登堡到谷歌的網絡革命
- Modern JavaScript Web Development Cookbook
- 解析QUIC/HTTP3:未來互聯網的基石
- 物聯網(IoT)基礎:網絡技術+協議+用例
- MERN Quick Start Guide
- C++黑客編程揭秘與防范
- 異構基因共表達網絡的分析方法
- Windows Server 2003 Active Directory Design and Implementation: Creating, Migrating, and Merging Networks
- WordPress 5 Complete
- 互聯網安全的40個智慧洞見:2015年中國互聯網安全大會文集
- Practical Web Design
- 區塊鏈輕松上手:原理、源碼、搭建與應用
- 物聯網技術與應用
- 網絡安全應急響應技術實戰
- TD-LTE無線網絡規劃與設計