code: public static <T> ObservableTransformer<T,T> doOnDisposeFx(Action onDipsose) {
          return obs -> obs.doOnDispose(() -> runOnFx(onDipsose));
      }
docs: Performs the provided onTerminate action on the FX thread
  @param onDipsose
  @param <T>