SOARCA
SOARCA copied to clipboard
add waitgroup to reporting calls to ensure consistency
Added a sync.WaitGroup to the reporter module, which is used to ensure that the routine that reports the workflow end wg.Wait()-s before executing, allowing for all other reporting subroutines to record the progress correctly.
Note: I don't know if this can be unit-tested.