# Functions
NewRDB returns a new instance of RDB.
# Variables
ErrDuplicateTask indicates that another task with the same unique key holds the uniqueness lock.
ErrNoProcessableTask indicates that there are no tasks ready to be processed.
ErrTaskNotFound indicates that a task that matches the given identifier was not found.
# Structs
DailyStats holds aggregate data for a given day.
DeadTask is a task in that has exhausted all retries.
EnqueuedTask is a task in a queue and is ready to be processed.
ErrQueueNotEmpty indicates specified queue is not empty.
ErrQueueNotFound indicates specified queue does not exist.
InProgressTask is a task that's currently being processed.
Pagination specifies the page size and page number for the list operation.
RDB is a client interface to query and mutate task queues.
RetryTask is a task that's in retry queue because worker failed to process the task.
ScheduledTask is a task that's scheduled to be processed in the future.
Stats represents a state of queues at a certain time.