graph-database.js
/**
   Invoked as the final step in promise chains for transaction-scoped operations, such as get
   and put. Iff no request is still pending, then there is no pending control in the
   application which xcould add to the transaction and it should be completed
   by delegating th ecommit to the remote store in the form of a patch.
   */
Invoked as the final step in promise chains for transaction-scoped operations, such as get
and put. Iff no request is still pending, then there is no pending control in the
application which xcould add to the transaction and it should be completed
by delegating th ecommit to the remote store in the form of a patch.
Invoked as the final step in promise chains for transaction - scoped operations such as get and put . Iff no request is still pending then there is no pending control in the application which xcould add to the transaction and it should be completed by delegating th ecommit to the remote store in the form of a patch .
commitIfComplete() {
    if (! this.stores.find(function(store) {
            return (store.requests.length > 0);
          })) {
      return (this.commit());
    } else {
      return (null);
    }
  }
commitIfComplete ( ) { if ( ! this . stores . find ( function ( store ) { return ( store . requests . length > 0 ) ; } ) ) { return ( this . commit ( ) ) ; } else { return ( null ) ; } }
Invoked as the final step in promise chains for transaction-scoped operations, such as get
and put.
Invoked as the final step in promise chains for transaction - scoped operations such as get and put .
// if some requests is pending, cannot yet commit the transaction