Add method to update state from progress
This way the method to measure progress calculate only the statistics and it is easier to test, removing the logic about the state file, header stats and number of bw lines returned to this method instead.
Please register or sign in to comment