# Functions
EncodePayload encodes a process message into a payload.
NewWeightedQueue returns a new WeightedQueue with the given maximum size & weight.
# Structs
WeightedQueue is a queue of WeightedItems.
# Interfaces
WeightedItem is an item that has a type and weight that can be added to a WeightedQueue.