package
0.0.0-20240910010347-bcdd684c0c37
Repository: https://github.com/ahamlinman/magic-mirror.git
Documentation: pkg.go.dev

# Functions

NewNoValueQueue wraps a handler that only returns an error to create a [Queue] that produces [NoValue] for each key.
NewQueue creates a [Queue] with the provided concurrency limit and handler.

# Structs

KeyMutex provides mutual exclusion among operations targeting a given comparable key.
NoValue is the canonical empty value type for a [Queue].
Queue is a concurrency-limited deduplicating work queue.
QueueHandle allows a [Handler] to interact with its parent queue.
Stats conveys information about the keys and results in a [Queue].

# Type aliases

Handler is the type for a [Queue]'s handler function.