lib/taskScheduler.js
function(capability, specLists) {
  this.capability = capability;
  this.numRunningInstances = 0;
  this.maxInstance = capability.maxInstances || 1;
  this.specsIndex = 0;
  this.specLists = specLists;
}
function(capability, specLists) {
  this.capability = capability;
  this.numRunningInstances = 0;
  this.maxInstance = capability.maxInstances || 1;
  this.specsIndex = 0;
  this.specLists = specLists;
}
function ( capability , specLists ) { this . capability = capability ; this . numRunningInstances = 0 ; this . maxInstance = capability . maxInstances || 1 ; this . specsIndex = 0 ; this . specLists = specLists ; }
A queue of specs for a particular capacity
A queue of specs for a particular capacity