exqueue v0.1.0 RTQueue View Source
An elixir realtime queue implement.
Link to this section Summary
Types
The q type stands for the realtime data for a RTQueue
The state type in the RTQueue module stands for the reverse state of the queue
The t type stands for the RTQueue
Functions
Return true when the queue is empty, false when the queue is not empty
Get the front element of a queue
Return an empty queue
Pop the front element of a queue
Push an element to the back of a queue
Return the size of a queue
Link to this section Types
The q type stands for the realtime data for a RTQueue.
state :: :Empty | {:Reverse, non_neg_integer, list, list, list, list} | {:Concat, non_neg_integer, list, list} | {:Done, list}
The state type in the RTQueue module stands for the reverse state of the queue.
The t type stands for the RTQueue.
Link to this section Functions
Return true when the queue is empty, false when the queue is not empty.
Get the front element of a queue.
Return an empty queue.
Pop the front element of a queue.
Push an element to the back of a queue.
Return the size of a queue.