wrapReduce method
Override this to have some logic before and after the reduce method.
Specifically, this method is called after before and before after:
before -> wrapReduce -> after
Usage:
Future<int> wrapReduce() async {
someLogicBeforeReduce();
final result = await reduce();
someLogicAfterReduce();
return result;
}
Implementation
Future<T> wrapReduce() => reduce();