package
0.0.0-20231212030111-86af83068773
Repository: https://github.com/blastchain/blast.git
Documentation: pkg.go.dev

# Functions

NewAdvancingClock creates a clock that, when started, advances at the same rate as the system clock but can also be advanced arbitrary amounts using the AdvanceTime method.
NewDeterministicClock creates a new clock where time only advances when the DeterministicClock.AdvanceTime method is called.
NewLoopFn creates a periodic function call, which can be closed, with an optional onClose callback to clean up resources.

# Variables

SystemClock provides an instance of Clock that uses the system clock via methods in the time package.

# Structs

No description provided by the author
No description provided by the author
LoopFn is a simple ticker-loop with io.Closer support.
No description provided by the author
No description provided by the author

# Interfaces

Clock represents time in a way that can be provided by varying implementations.
A Ticker holds a channel that delivers "ticks" of a clock at intervals.
Timer represents a single event.