code: public void forEachGlobal(BiConsumer<String, Object> action) {
          Objects.requireNonNull(action);
          this.globalVars.forEach(action);
      }
docs: Performs the given action for each global vars until all have been processed or the action throws an exception.
  
  @param action
  @since 2.5.0