响应式编程

最新文章

Rx初步理解

这一节我们来理解Rx的一些基本概念:1、什么是Rx?首先,官网的介绍是:An API for asynchronous programming with observable streams我们对这段话的理解有三个层次:1、An API:它首先是一个编程接口规范,不同的语言有不同的实现,但是API接口应该是一致的。2、For asynchronous programming:在异步编程中使用。比如