Skip to content

Commit 9ec34af

Browse files
committed
Addressing comments from the PR
1 parent cca6ae7 commit 9ec34af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/src/transaction.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ class Transaction {
6161
* @param {ConnectionHolder} connectionHolder - the connection holder to get connection from.
6262
* @param {function()} onClose - Function to be called when transaction is committed or rolled back.
6363
* @param {function(bookmarks: Bookmarks)} onBookmarks callback invoked when new bookmark is produced.
64-
* * @param {function()} onConnection - Function to be called when a connection is obtained to ensure the conneciton
64+
* @param {function()} onConnection - Function to be called when a connection is obtained to ensure the conneciton
6565
* is not yet released.
6666
* @param {boolean} reactive whether this transaction generates reactive streams
6767
* @param {number} fetchSize - the record fetch size in each pulling batch.
6868
* @param {string} impersonatedUser - The name of the user which should be impersonated for the duration of the session.
69+
* @param {number} highRecordWatermark - The high watermark for the record buffer.
70+
* @param {number} lowRecordWatermark - The low watermark for the record buffer.
6971
*/
7072
constructor({
7173
connectionHolder,

0 commit comments

Comments
 (0)