src/main/java/io/reactivex/plugins/RxJavaPlugins.java
public static void setScheduleHandler(@Nullable Function<? super Runnable, ? extends Runnable> handler) {
        if (lockdown) {
            throw new IllegalStateException("Plugins can't be changed anymore");
        }
        onScheduleHandler = handler;
    }
public static void setScheduleHandler(@Nullable Function<? super Runnable, ? extends Runnable> handler) {
        if (lockdown) {
            throw new IllegalStateException("Plugins can't be changed anymore");
        }
        onScheduleHandler = handler;
    }
public static void setScheduleHandler ( @ Nullable Function < ? super Runnable , ? extends Runnable > handler ) { if ( lockdown ) { throw new IllegalStateException ( "Plugins can't be changed anymore" ) ; } onScheduleHandler = handler ; }
Sets the specific hook function.
@param handler the hook function to set, null allowed
Sets the specific hook function .