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