New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
time: add (*Timer).Reset(d Duration) #4412
Labels
Milestone
Comments
I don't think we should make any guarantees about the channel contents, since this is racy. But perhaps Reset should expose the same information as Stop, that is, a boolean indicating whether the Reset happened before the timer fired. But I would omit even that bit for now, until there's a demonstrated need. |
This issue was closed by revision 44ff17e. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: