quick-queue

0.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i quick-queue

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • pthrasher