Single.empty()
makes no sense because Single
has to have a single item or an error. You could just have kept Observable
or switched to Maybe
which does allow empty or Completable
which doesn’t emit an item at all.
Single.empty()
makes no sense because Single
has to have a single item or an error. You could just have kept Observable
or switched to Maybe
which does allow empty or Completable
which doesn’t emit an item at all.