File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ class Session {
137
137
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
138
138
* <code>maxTransactionRetryTime</code> property in milliseconds.
139
139
*
140
- * @param {function(Transaction) } transactionWork - callback that executes operations against
140
+ * @param {function(tx: Transaction): Promise } transactionWork - callback that executes operations against
141
141
* a given {@link Transaction}.
142
142
* @return {Promise } resolved promise as returned by the given function or rejected promise when given
143
143
* function or commit fails.
@@ -154,7 +154,7 @@ class Session {
154
154
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
155
155
* <code>maxTransactionRetryTime</code> property in milliseconds.
156
156
*
157
- * @param {function(Transaction) } transactionWork - callback that executes operations against
157
+ * @param {function(tx: Transaction): Promise } transactionWork - callback that executes operations against
158
158
* a given {@link Transaction}.
159
159
* @return {Promise } resolved promise as returned by the given function or rejected promise when given
160
160
* function or commit fails.
You can’t perform that action at this time.
0 commit comments