RunStepWrapper typedef

RunStepWrapper = Future<T> Function<T>(Step<T> step, Future<T> runStep())

A RunStepWrapper is a function that can wrap the runStep function.

See the constructor of Runner for examples.

Implementation

typedef RunStepWrapper = Future<T> Function<T>(
  Step<T> step,
  Future<T> Function() runStep,
);