- 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
- 零起步輕松學(xué)單片機(jī)技術(shù)(第2版)
- Microsoft Dynamics CRM Customization Essentials
- 大數(shù)據(jù)管理系統(tǒng)
- Mastering Proxmox(Third Edition)
- 21天學(xué)通PHP
- Hands-On Artificial Intelligence on Amazon Web Services
- 西門子PLC與InTouch綜合應(yīng)用
- Photoshop CS4經(jīng)典380例
- 精通Excel VBA
- 自主研拋機(jī)器人技術(shù)
- 城市道路交通主動控制技術(shù)
- 現(xiàn)代機(jī)械運動控制技術(shù)
- Associations and Correlations
- Moodle Course Design Best Practices
- Machine Learning with Apache Spark Quick Start Guide