lib/topologies/topology_base.js
function(topology, storeOptions) {
  var self = this;
  var storedOps = [];
  storeOptions = storeOptions || { force: false, bufferMaxEntries: -1 };

  // Internal state
  this.s = {
    storedOps: storedOps,
    storeOptions: storeOptions,
    topology: topology
  };

  Object.defineProperty(this, 'length', {
    enumerable: true,
    get: function() {
      return self.s.storedOps.length;
    }
  });
}
function(topology, storeOptions) {
  var self = this;
  var storedOps = [];
  storeOptions = storeOptions || { force: false, bufferMaxEntries: -1 };

  // Internal state
  this.s = {
    storedOps: storedOps,
    storeOptions: storeOptions,
    topology: topology
  };

  Object.defineProperty(this, 'length', {
    enumerable: true,
    get: function() {
      return self.s.storedOps.length;
    }
  });
}
function ( topology , storeOptions ) { var self = this ; var storedOps = [ ] ; storeOptions = storeOptions || { force : false , bufferMaxEntries : - 1 } ; // Internal state this . s = { storedOps : storedOps , storeOptions : storeOptions , topology : topology } ; Object . defineProperty ( this , 'length' , { enumerable : true , get : function ( ) { return self . s . storedOps . length ; } } ) ; }
The store of ops
The store of ops