package
1.0.0-rc.3
Repository: https://github.com/iotaledger/hive.go.git
Documentation: pkg.go.dev

# Functions

CleanupTimer stops the timer and drains the Timer's channel.
NewPrecisionTicker creates a new PrecisionTicker instance that executes the given callback function at the given rate.
NewTicker creates a new Ticker from the given details.
Sleep pauses the current goroutine for the duration d or until the context ctx is canceled.
WithMaxIterations sets the maximum number of iterations that the ticker will perform.
WithMinTimePrecision sets the assumed minimum time precision of the system.

# Structs

PrecisionTicker is a ticker that can be used on systems (like windows) that do not offer a high enough time resolution for very fast ticker intervals.
Ticker is task that gets executed repeatedly.

# Type aliases

PrecisionTickerOption is a function that can be used to configure a PrecisionTicker.