package
0.0.0-20211127192921-538a9bf3b105
Repository: https://github.com/lasthyphen/avalanchego-1.4.11.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewStagedTimer returns a timer that will execute [f] when a timeout occurs and execute an additional timeout after the returned duration if [f] returns true and some duration.
NewTimer creates a new timer object.

# Variables

0 is used because we drop the nano-seconds.

# Structs

AdaptiveTimeoutConfig contains the parameters provided to the adaptive timeout manager.
AdaptiveTimeoutManager is a manager for timeouts.
Clock acts as a thin wrapper around global time that allows for easy testing.
No description provided by the author
TimedMeter is a meter that discards old events.
TimeoutManager is a manager for timeouts.
Timer wraps a timer object.

# Interfaces

Meter tracks the number of occurrences of a specified event.