package
Version:
v0.0.0-...-a5f7211
Opens a new window with list of versions in this module.
Published: Apr 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
"This thing should happen 3 times a second at most"
func BurstThrottler(count int, duration time.Duration) (func(fn func()), func())
BurstThrottler(3, time.Second) => "only let this fn happen 3 times a second"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.