<@U7SS0SAPR> if value not being there is valid sta...
# rx
u
@GurpreetSK if value not being there is valid state, then expose it as optional ...Single<Optional<T>>
👍 1
g
An
optional
would be the right thing to do but I cannot modify the contract as it will affect a lot of other places.
u
well you cant have nulls in rxjava
so your kind of out of luck, that or dont emit null, emit some kind of constant value Foo.EMPTY