Cpp Functional Programming Vs Reactive Programming With Rxjava