code: public <T> void forEach(Stream<T> stream, Consumer<? super T> action) {
          Runnable runnable = () -> stream.forEach(action);
          ThreadMethods.forkJoinExecution(runnable, concurrencyConfiguration, stream.isParallel());
      }
docs: Executes forEach on the provided stream. If the Stream is parallel, it is
  executed using the custom pool, else it is executed directly from the
  main thread.
  
  @param <T>
  @param stream
  @param action