APISonar


com.vpaliy.domain.executor.BaseSchedulerProvider.io

> com > vpaliy > domain > executor > BaseSchedulerProvider > io
com APIs vpaliy APIs domain APIs executor APIs BaseSchedulerProvider APIs io APIs

Example 1
protected BaseSchedulerProvider schedulerProvider;

  public void execute(DisposableSingleObserver<T> singleObserver, Params params) {
    Single<T> single = buildUseCase(params)
            .subscribeOn(schedulerProvider.io())
            .observeOn(schedulerProvider.ui());
    disposables.add(single.subscribeWith(singleObserver));
  }