package
8.3.55+incompatible
Repository: https://github.com/nyaruka/mailroom.git
Documentation: pkg.go.dev

# Functions

AddTask adds the passed in task to our queue for execution.
MarkTaskComplete marks the passed in task as complete.
PopNextTask pops the next task off our queue.
Size returns the number of tasks for the passed in queue.

# Constants

BatchQueue is our queue for batch tasks, most things that operate on more than one cotact at a time.
DefaultPriority is the default priority for tasks.
HandlerQueue is our queue for message handling or other tasks related to just one contact.
HighPriority is the highest priority for tasks.
LowPriority is the lowest priority for tasks.

# Structs

Task is a utility struct for encoding a task.

# Type aliases

Priority is the priority for the task.