RXJava 究竟是什么以及它的用途是什么?
What is exactly RXJava and what it is used for?
大家好,我在网上阅读了一些关于 RxJava 的文章,以便更好地理解它是什么,但我仍然觉得它很难理解。有人可以给我建议吗:
1- 什么是 RXJava?
2- 我们为什么要使用它?
它是一个名为 ReactiveX 的规范的实现,主要是 API 用于基于 Observable 设计模式的可观察流异步编程。最著名的实现是 Angular.
中使用的 rxjs
您可以查看网站 www.reactivex.io 以了解更多信息。
ReactiveX is a library for composing asynchronous and event-based programs by using observable sequences. It extends the observer pattern to support sequences of data and/or events and adds operators that allow you to compose sequences together declaratively while abstracting away concerns about things like low-level threading, synchronization, thread-safety, concurrent data structures, and non-blocking I/O.
大家好,我在网上阅读了一些关于 RxJava 的文章,以便更好地理解它是什么,但我仍然觉得它很难理解。有人可以给我建议吗:
1- 什么是 RXJava?
2- 我们为什么要使用它?
它是一个名为 ReactiveX 的规范的实现,主要是 API 用于基于 Observable 设计模式的可观察流异步编程。最著名的实现是 Angular.
中使用的 rxjs您可以查看网站 www.reactivex.io 以了解更多信息。
ReactiveX is a library for composing asynchronous and event-based programs by using observable sequences. It extends the observer pattern to support sequences of data and/or events and adds operators that allow you to compose sequences together declaratively while abstracting away concerns about things like low-level threading, synchronization, thread-safety, concurrent data structures, and non-blocking I/O.