package
0.1.0
Repository: https://github.com/sunvim/utils.git
Documentation: pkg.go.dev

# Functions

NewPriorityQueue is the constructor for a priority queue.

# Variables

ErrDisposed is returned when an operation is performed on a disposed queue.
ErrEmptyQueue is returned when an non-applicable queue operation was called due to the queue's empty item state.
ErrTimeout is returned when an applicable queue operation times out.

# Structs

PriorityQueue is similar to queue except that it takes items that implement the Item interface and adds them to the queue in priority order.

# Interfaces

Item is an item that can be added to the priority queue.