rxjs,observer.next() 和 observer.onNext() 有什么区别?
rxjs, what's the difference about observer.next() and observer.onNext()?
RxJs 中 observer.next()
和 observer.onNext()
有什么区别?一个版本是4,另一个是5?
observer.complete()
和 observer.onCompleted()
呢?
我刚开始使用 RxJS 并正在寻找 RxJS v4 文档。
this the website 是针对 v4 还是 v5 文档?
这些都是一样的。参见 https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md#observer-interface-changes-also-subjects。
网站 http://reactivex.io/rxjs/ 是从 RxJS 5 文档块自动生成的。
此处主要介绍了 RxJS 4 http://reactivex.io/documentation/observable.html(也涵盖了其他 Rx 变体)。
RxJs 中 observer.next()
和 observer.onNext()
有什么区别?一个版本是4,另一个是5?
observer.complete()
和 observer.onCompleted()
呢?
我刚开始使用 RxJS 并正在寻找 RxJS v4 文档。
this the website 是针对 v4 还是 v5 文档?
这些都是一样的。参见 https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md#observer-interface-changes-also-subjects。
网站 http://reactivex.io/rxjs/ 是从 RxJS 5 文档块自动生成的。
此处主要介绍了 RxJS 4 http://reactivex.io/documentation/observable.html(也涵盖了其他 Rx 变体)。