defaultIfEmpty
目录
1 defaultIfEmpty接口
Flowable<T> |
defaultIfEmpty(T defaultItem) Returns a Flowable that emits the items emitted by the source Publisher or a specified default item if the source Publisher is empty. 返回一个Flowable,它发出源Publisher发出的项或源Publisher为空时指定的默认项。 |