Is there something like Single.empty()
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.
A workaround e.g. for tests would be
Observable.<Whatever>empty().toSingle()
keep in mind that this does not call the subscribers at all.