quick-queue

A simple linked-list based queue.

simple-queue

A simple linked-list based queue.

Install the module with: npm install simple-queue

var SimpleQueue = require('simple-queue');
 
sq = new SimpleQueue();
item = { /* ... my item to be queued */ }
_uuid = sq.queue(item);
 
result = sq.dequeue()
__uuid = result[0];
item = result[1];
ack = result[2];
 
ack(); // Acknowledge receipt. (not neccessary if you call new SimpleQueue(-1) 

(Coming soon)

(Coming soon)

4 whitespace tabs, and all code should be done in coffee-script.

(Nothing yet)

Copyright (c) 2012 Philip Thrasher
Licensed under the MIT license.