Sobes.tech
Junior — Senior

Definition of the execution flow subscribeOn in RxJava

livecode

Task condition

It is necessary to understand in which thread the create block will run if the code below is executed from the main (UI) thread.

Observable.create<Int> { }
    .subscribeOn(Schedulers.io())
    .subscribe { }