Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timer ¶
type Timer struct {
// contains filtered or unexported fields
}
Very common pattern I have in my code, a timer that coordinates resets from the callback function, externally, and tracks when it's due. Only one instance of the timer callback can be running at a time, and that callback is responsible for also returning the next delay.
Click to show internal directories.
Click to hide internal directories.