Hands-On Reactive Programming with Clojure
上QQ阅读APP看书,第一时间看更新

Summary

In this chapter, we took a deep dive into RxJava, a port form of Microsoft's Reactive Extensions from .NET. We learned about its main abstraction, the observable, and how it relates to iterables.

We also learned how to create, manipulate, and combine observables in several ways. The examples shown here were contrived to keep things simple. Nevertheless, all of the concepts that have been presented are extremely useful in real applications and will come in handy for our next chapter, where we will put them to use in a more substantial example.

Finally, we finished by looking at error handling and backpressure, both of which are important characteristics of reliable applications that should always be kept in mind.

In the next chapter we will create a stock market monitoring application using observable sequences and RxClojure. They will help us reduce the complexity when dealing with stateful computations.