Use Completables instead of Single when storing data
Yorxxx opened this issue · 0 comments
Yorxxx commented
Currently BaseRepositoryDataSource uses a Single as Observable function when storing data.
Single<T> save(T data);
But all the repository implementations simple emits the supplied data.
To avoid confusion, it would be clearer to use Completable
Completable save(T data)