clock
clock copied to clipboard
AfterFunc underlying function is executed in its own goroutine
Original AfterFunc executes function in its own goroutine Mock should do it in the same way, otherwise tests doesn't cover races with this kind of timer