RxJava2: Alternative to Observable<Void>
Use Completable
.
If the operation succeeds, it will emit a successful termination event. If it fails, you can use your own Exception
subclass to wrap the necessary error codes.
Use Completable
.
If the operation succeeds, it will emit a successful termination event. If it fails, you can use your own Exception
subclass to wrap the necessary error codes.