then<S> method

Pipeline<T, S> then<S>(
  1. S next(
    1. R
    )
)

Implementation

Pipeline<T, S> then<S>(S Function(R) next) {
  return Pipeline<T, S>((T input) => next(run(input)));
}