Hi! I have a bunch of `Maybe`'s and I'd like to lo...
# rx
d
Hi! I have a bunch of `Maybe`'s and I'd like to log when some of them complete without emitting an item. Is this possible somehow? I need a variant of
doOnComplete()
which is invoked only when Maybe is empty...
t
Turn into an Observable and multicast it, where one observer uses count() to see if it's 0?
d
Well, that would be to much for me. I just need a simple side-effecting
doOnEmpty()
Hah! According to RxJava's github,
Maybe.doOnComplete()
actually executes only on empty
Maybe
. If
Maybe
emits and item,
doOnSuccess()
should be used.