* Increment the transaction number on the internal ServerSession * * @privateRemarks * This helper increments a value stored on the client session that will be * added to the serverSession's txnNumber upon applying it to a command. * This is because the serverSession is lazily acquire
()
| 367 | * This is because the serverSession is lazily acquired after a connection is obtained |
| 368 | */ |
| 369 | incrementTransactionNumber(): void { |
| 370 | this.txnNumberIncrement += 1; |
| 371 | } |
| 372 | |
| 373 | /** @returns whether this session is currently in a transaction or not */ |
| 374 | inTransaction(): boolean { |
no outgoing calls
no test coverage detected