Versions in this module Expand all Collapse all v0 v0.0.2 Jul 28, 2026 v0.0.1 Jul 28, 2026 Changes in this version + var TimeoutError error + type Throttle struct + EntityRate time.Duration + EntitySpawn map[T]*time.Ticker + EntitySpawnMux sync.RWMutex + GlobalSpawn *time.Ticker + func New[T comparable, V any](globalRate, entityRate time.Duration) *Throttle[T, V] + func (t *Throttle[T, V]) Await(entity T, value *V, timeout time.Duration) (*V, error)