code: public static <T1, T2, T3> TriConsumer<T1, T2, T3> pipeline(TriConsumer<T1, T2, T3> consumer) {
          return new PipelinedTernaryConsumer<T1, T2, T3>(Iterations.iterable(consumer));
      }
docs: Creates a pipeline from a ternary consumer.
  
  @param <T1> the consumer first parameter type
  @param <T2> the consumer second parameter type
  @param <T3> the consumer third parameter type
  @param consumer the consumer to be transformed
  @return the pipelined consumer