Skip to Content
C++ Reactive Programming
book

C++ Reactive Programming

by Praseed Pai, Peter Abraham
June 2018
Intermediate to advanced
348 pages
8h 45m
English
Packt Publishing
Content preview from C++ Reactive Programming

RxCpp – the Key Elements

In the previous chapter, we were introduced to the RxCpp library and its programming model. We wrote some programs to understand workings of the library and  also covered the most essential elements of the RxCpp library. In this chapter, we will cover, in some depth, the key elements of reactive programming , which includes the following:

  • Observables
  • Observers and their variants (Subscribers)
  • Subjects
  • Schedulers
  • Operators

In effect, the key aspects of reactive programming are as follows:

  • Observables are Streams to which Observers can subscribe for notifications
  • A Subject is a combination of Observable and Observer
  • Schedulers execute the Action associated with Operators and help the flow of data from Observables ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Functional Programming in C++

Functional Programming in C++

Ivan Cukic

Publisher Resources

ISBN: 9781788629775Supplemental Content