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