# Functions
NewQueue create a Queue that will store segments in dir and that will consume no more than maxSize on disk.
# Constants
MaxWritesPending is the number of writes that can be pending at any given time.
# Variables
Possible errors returned by a queue.
Possible errors returned by a queue.
Possible errors returned by a queue.
Possible errors returned by a queue.