public static Scheduler mainThread() {
        return RxAndroidPlugins.onMainThreadScheduler(MAIN_THREAD);
    }
A {@link Scheduler} which executes actions on the Android main thread.
android/android_framework/base/src/main/java/rx2/android/schedulers/AndroidSchedulers.java