code: public static CompletionStage<Stage> scheduleHiding(final Stage stage) {
          LOG.debug(
              "Requested hiding of stage {} with title : \"{}\"",
              stage,
              stage.getTitle()
          );
          return FxAsync.doOnFxThread(
              stage,
              Stage::hide
          );
      }
docs: Schedules a stage for hiding
  
  @param stage The stage to shcedule hiding of.
  
  @return A {@link CompletionStage} to have monitoring over the state of the asynchronous operation