This is a small cleanup to the existing Broadcasters implementation to use slices.DeleteFunc.
Additionally, I've upped the number of parallel goroutines used in the new race detection test to 10, to have a slightly higher chance of catching issues, and added a new test that randomly runs the functions against each-other.
This is a small cleanup to the existing Broadcasters implementation to use
slices.DeleteFunc
.Additionally, I've upped the number of parallel goroutines used in the new race detection test to 10, to have a slightly higher chance of catching issues, and added a new test that randomly runs the functions against each-other.