code: public static <T, S extends BaseStream<T, S>> Stream<T> wrap(S stream, String task) {
          ProgressBarBuilder pbb = new ProgressBarBuilder().setTaskName(task);
          return wrap(stream, pbb);
      }
docs: Wraps a {@link Stream} so that when iterated, a progress bar is shown to track the traversal progress.
  @param stream Underlying stream (can be sequential or parallel)
  @param task Task name