lib/q.js
function (name, paramd) {
    var self = this;

    paramd = (paramd !== undefined) ? paramd : {};

    self.name = (name !== undefined) ? name : "unnamed-queue";
    self.qitems = [];
    self.qurrents = [];
    self.qn = (paramd.qn !== undefined) ? paramd.qn : 1;
    self.qid = 0;
    self.paused = false;
}
function (name, paramd) {
    var self = this;

    paramd = (paramd !== undefined) ? paramd : {};

    self.name = (name !== undefined) ? name : "unnamed-queue";
    self.qitems = [];
    self.qurrents = [];
    self.qn = (paramd.qn !== undefined) ? paramd.qn : 1;
    self.qid = 0;
    self.paused = false;
}
function ( name , paramd ) { var self = this ; paramd = ( paramd !== undefined ) ? paramd : { } ; self . name = ( name !== undefined ) ? name : "unnamed-queue" ; self . qitems = [ ] ; self . qurrents = [ ] ; self . qn = ( paramd . qn !== undefined ) ? paramd . qn : 1 ; self . qid = 0 ; self . paused = false ; }
Make a FIFOQueue called 'name'.

@param {string} name
A human friendly name for this queue,
occassionally printed out

@param {dictionary} paramd
@param {integer} paramd.qn
How many items this queue can be executing
at once. Defaults to 1.

@classdesc
FIFO Queue stuff. This is useful e.g. in {@link Driver Drivers}
when you don't want to be pounding on a device's URL with
multiple requests at the same time.

<hr />

@constructor
Make a FIFOQueue called name .