A simple linked-list based queue with auto re-queueing support.
CoffeeScript JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.npmignore
.travis.yml
LICENSE-MIT
README.md
grunt.js
index.coffee
index.js
index.spec.coffee
index.spec.js
package.json

README.md

simple-queue

A simple linked-list based queue.

Build Status

Getting Started

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)

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

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

Release History

(Nothing yet)

License

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