queueOperation(operation) {
    if (this[PRIVATE.aborted]) {
      throw new Error("The transaction has already been aborted")
    }
    if (!this[PRIVATE.active]) {
      throw new Error("The transaction is no longer active")
    }

    this[PRIVATE.queuedOperations].push(operation)
  }
/**
   * Queues the provided transaction operation to be executed as soon as
   * possible. The operation will not be executed if the transaction gets
   * aborted before the transaction runner is able to execute the operation.
   *
   * @param {function(Transaction)} operation A callback representing the
   *        operation to execute as soon as possible.
   */
Queues the provided transaction operation to be executed as soon as
possible. The operation will not be executed if the transaction gets
aborted before the transaction runner is able to execute the operation.

@param {function(Transaction)} operation A callback representing the
operation to execute as soon as possible.
Queues the provided transaction operation to be executed as soon as possible . The operation will not be executed if the transaction gets aborted before the transaction runner is able to execute the operation . @param { function ( Transaction ) } operation A callback representing the operation to execute as soon as possible .
queueOperation(operation) {
    if (this[PRIVATE.aborted]) {
      throw new Error("The transaction has already been aborted")
    }
    if (!this[PRIVATE.active]) {
      throw new Error("The transaction is no longer active")
    }
    this[PRIVATE.queuedOperations].push(operation)
  }
queueOperation ( operation ) { if ( this [ PRIVATE . aborted ] ) { throw new Error ( "The transaction has already been aborted" ) } if ( ! this [ PRIVATE . active ] ) { throw new Error ( "The transaction is no longer active" ) } this [ PRIVATE . queuedOperations ] . push ( operation ) }
Queues the provided transaction operation to be executed as soon as
 possible.
Queues the provided transaction operation to be executed as soon as possible .