code: function addWait(manager) {
              if (!waiting[manager.id]) {
                  waiting[manager.id] = manager;
                  waitAry.push(manager);
                  context.waitCount += 1;
              }
          }
docs: Adds the manager to the waiting queue. Only fully
  resolved items should be in the waiting queue.