Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BurstNotifier ¶
func Notifier ¶
Notifier returns a chan that yields a struct{}{} every so often. the wait period between structs is between minWait and maxWait. greedy consumers that continuously read from the returned chan will see the wait period generally increase.
Note: this func panics if minWait is a non-positive value to avoid busy-looping.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.