RxJava 2.2.0 已发布。RxJava 是一个在 Java VM 上使用可观测的序列来组成异步的、基于事件的程序的库。
2.2.0 版本是 2.x 系列的下一个次要版本,包含自 2.1.0 版本发布以来在过去一年中许多实验性 API 添加的标准化。因此,以下组件现在被认为是稳定的,并将在 RxJava 2.x 的整个生命周期中得到支持。
Annotation: N/A
Subject: MulticastProcessor
Classes: ParallelFlowable
, UndeliverableException
, OnErrorNotImplementedException
Enum: ParallelFailureHandling
Interfaces: {Completable|Single|Maybe|Observable|Flowable|Parallel}Emitter
, {Completable|Single|Maybe|Observable|Flowable|Parallel}Converter
, LambdaConsumerIntrospection
, ScheduledRunnableIntrospection
Flowable
: as
, concatMap{Single|Maybe|Completable}
, limit
, parallel
, switchMap{Single|Maybe|Completable}
, throttleLatest
Observable
: as
, concatMap{Single|Maybe|Completable}
, switchMap{Single|Maybe|Completable}
, throttleLatest
Single
: as
, mergeDelayError
, onTerminateDetach
, unsubscribeOn
Maybe
: as
, mergeDelayError
, switchIfEmpty
Completable
: as
, fromMaybe
, onTerminateDetach
, takeUntil
ParallelFlowable
: as
, map|filter|doOnNext(errorHandling)
˙, sequentialDelayError
Connectable{Flowable, Observable}
: refCount(count + timeout)
Subject
/ FlowableProcessor
: offer
, cleanupBuffer
, create(..., delayError)
Test{Observer, Subscriber}
: assertValueAt
, assertValuesOnly
, assertValueSetOnly
(有关完整列表和详细信息,请查看 PR 6105 )
2.2.0 在功能上与 2.1.17 相同。另外要说明一下,就像之前使用 RxJava 的次要版本增量一样,2.1.x 系列(补丁)级别将不会有任何进一步的开发或更新。
详细内容和源码下载请查看 https://github.com/ReactiveX/RxJava/releases/tag/v2.2.0