timez

package
v19.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoalescingTimer

type CoalescingTimer struct {
	C <-chan time.Time
	// contains filtered or unexported fields
}

CoalescingTimer enforces a minimum interval between timer firings.

func NewCoalescingTimer

func NewCoalescingTimer(minFireInterval time.Duration) *CoalescingTimer

func (*CoalescingTimer) Reset

func (t *CoalescingTimer) Reset(d time.Duration)

func (*CoalescingTimer) Stop

func (t *CoalescingTimer) Stop() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL