wrapReduce method

ServerState wrapReduce()
inherited

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: int wrapReduce() { someLogicBeforeReduce(); final result = reduce(); someLogicAfterReduce(); return result; }

Implementation

T wrapReduce() => reduce();