package
0.0.5
Repository: https://github.com/massyu/hive.go.git
Documentation: pkg.go.dev

# Functions

New is the constructor for the TimedQueue.

# Constants

CancelPendingElements defines a shutdown flag, that causes the queue to be emptied on shutdown.
IgnorePendingTimeouts defines a shutdown flag, that makes the queue ignore the timeouts of the remaining queued elements.
PanicOnModificationsAfterShutdown makes the queue panic instead of ignoring consecutive writes or modifications.

# Structs

QueueElement is an element in the TimedQueue.
TimedQueue represents a queue, that holds values that will only be released at a given time.

# Type aliases

ShutdownFlag defines the type of the optional shutdown flags.