Versions in this module Expand all Collapse all v0 v0.4.22 Jul 28, 2026 Changes in this version + func CompareSlices(a, b []any) bool + func CompareStringSlices(a, b []string) bool + func Ptr[T any](v T) *T + type DelayedExecutor struct + Delay time.Duration + MaxInterval time.Duration + States sync.Map + func NewDelayedExecutor(delay, maxInterval time.Duration) *DelayedExecutor + func (d *DelayedExecutor) Cancel(key string) + func (d *DelayedExecutor) Do(key string, execFunc func()) + type DelayedState struct + ExecFunc func() + StartTime time.Duration + Timer *time.Timer + type Throttle struct + func NewThrottle(limit time.Duration) *Throttle + func (t *Throttle) Do(f func())