- Mastering Reactive JavaScript
- Erich de Souza Oliveira
- 168字
- 2021-07-09 20:33:10
Difference between bacon.js and RxJS observables
In Chapter 2, Reacting for the First Time, you learned that an observable is basically an abstraction over possible asynchronous data. The observable gives you the power to transform data using different operators and take an action when a piece of new data becomes available, using a subscriber. The bacon.js library uses the term subscriber to the object listening to incoming data, but on Reactive Extensions, we will use a different term; we will call it Observer.
Conceptually, there is no difference between the two. Basically, it was just names chosen by the developers of both libraries; however, it is important that you're aware of both the names as you will see both being used in the documentation of the libraries.
In bacon.js, we saw two different flavors of observables:
- EventStreams
- Properties
In RxJS, we will always talk about:
- Observables
- Observers
- Linux運維之道(第3版)
- Puppet實戰
- Hands-On DevOps with Vagrant
- 高性能Linux服務器構建實戰:運維監控、性能調優與集群應用
- Windows Phone 7.5 Data Cookbook
- Windows Phone應用程序開發
- 深入理解eBPF與可觀測性
- 操作系統分析
- Distributed Computing with Go
- 跟老男孩學Linux運維:Shell編程實戰
- Advanced Infrastructure Penetration Testing
- VMware vSphere 5.1 Cookbook
- 電腦辦公(Windows 7 + Office 2013)入門與提高
- Azure Serverless Computing Cookbook
- Hyper-V Replica Essentials