Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 823 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 823 Bytes

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.