Generic queues with adapter support for Elixir
MIT License
GenQueue is a specification for queues.
This project currently provides the following functionality:
GenQueue
(docs) - a behaviour for queues
GenQueue.Adapter
(docs) - a behaviour for implementing adapters for a GenQueue
GenQueue.JobAdapter
(docs) - a behaviour for implementing job-based adapters for a GenQueue
GenQueue.Job
(docs) - a struct for containing job-enqueuing instructions
The package can be installed by adding gen_queue
to your list of dependencies in mix.exs
:
def deps do
[
{:gen_queue, "~> 0.1.8"}
]
end
See HexDocs for additional documentation.
The true functionality of GenQueue
comes with use of its adapters. Currently, the following
adapters are supported.
GenQueue Que
- Mnesia-backed job queue. Currently has an Elixir 1.6 bug. Not available until this is fixed.More adapters are always welcome!