Exmq - is redis based message queue for ElixirLang.
First of all you must have runned redis.
After starting redis
and exmq
set up connection with:
set_up_connection('localhost', 6379)
And you can use it:
push('channel1', {:ok, :test})
push('channel1', {:ok, :test2})
push('channel1', {:ok, :test3})
{:ok, :test3} = pop('channel1')
- Fork [email protected]:elixir-web/exmq.git
- Make changes
- Send pull request
- Thank you.
-
Add timestamps
-
Add reverse turn