- Hands-On Reactive Programming with Reactor
- Rahul Sharma
- 151字
- 2021-08-13 15:22:54
The Publisher and Subscriber APIs in a Reactor
The previous chapter provided you with a brief introduction to the evolution of the reactive paradigm. In that chapter, we discussed how Reactive Streams enable us to perform reactive modeling in imperative languages, such as Java. We also discussed the key components in reactive—the publisher and subscriber. In this chapter, we will cover these two components in detail. Since Reactive Streams is a specification, it does not provide any implementations of the two components. It only lists the responsibilities of the individual components. It is left to implementation libraries, such as Reactor, to provide concrete implementations for the interfaces. Reactor also provides different methods for instantiating publisher and subscriber objects.
We will cover the following topics in this chapter:
- Comparing streams to existing Java APIs
- Understanding the Flux API
- Understanding the Mono API
- Building subscribers to Flux and Mono publishers
- 繪制進程圖:可視化D++語言(第1冊)
- Word 2000、Excel 2000、PowerPoint 2000上機指導與練習
- Microsoft Power BI Quick Start Guide
- 大數據技術基礎
- Mastering VMware vSphere 6.5
- Mastering Elastic Stack
- PHP開發手冊
- Creo Parametric 1.0中文版從入門到精通
- 21天學通Visual Basic
- 網絡安全與防護
- 從零開始學C++
- Working with Linux:Quick Hacks for the Command Line
- 一步步寫嵌入式操作系統
- AMK伺服控制系統原理及應用
- 與人共融機器人的關節力矩測量技術