package
0.8.2
Repository: https://github.com/ipfs/go-peertaskqueue.git
Documentation: pkg.go.dev

# Functions

NewQueueTask creates a new QueueTask from the given Task.
WrapCompare wraps a QueueTask comparison function so it can be used as comparison for a priority queue.

# Variables

FIFOCompare is a basic task comparator that returns tasks in the order created.
PriorityCompare respects the target peer's task priority.

# Structs

QueueTask contains a Task, and also some bookkeeping information.
Task is a single task to be executed in Priority order.

# Interfaces

Data is used by the client to associate extra information with a Task.
Topic is a non-unique name for a task.

# Type aliases

No description provided by the author