code: function fireCallbacks(err, token) {
  		self.pendingCallbacks.forEach(function (callback) {
  			callback(err, token);
  		});
  		self.pendingCallbacks = [];
  	}
docs: execute accumulated callbacks during the 'pending' state