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 {
137137 * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
138138 * <code>maxTransactionRetryTime</code> property in milliseconds.
139139 *
140- * @param {function(Transaction) } transactionWork - callback that executes operations against
140+ * @param {function(tx: Transaction): Promise } transactionWork - callback that executes operations against
141141 * a given {@link Transaction}.
142142 * @return {Promise } resolved promise as returned by the given function or rejected promise when given
143143 * function or commit fails.
@@ -154,7 +154,7 @@ class Session {
154154 * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
155155 * <code>maxTransactionRetryTime</code> property in milliseconds.
156156 *
157- * @param {function(Transaction) } transactionWork - callback that executes operations against
157+ * @param {function(tx: Transaction): Promise } transactionWork - callback that executes operations against
158158 * a given {@link Transaction}.
159159 * @return {Promise } resolved promise as returned by the given function or rejected promise when given
160160 * function or commit fails.
You can’t perform that action at this time.
0 commit comments