AfterFunc support
Add an AfterFunc
method to the Clock
interface that returns a StopTimer
implementation, and wraps time.AfterFunc
in the default implementation.
Add an AfterFunc
method to the Clock
interface that returns a StopTimer
implementation, and wraps time.AfterFunc
in the default implementation.