File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,15 @@ class Transaction extends DatastoreRequest {
159
159
* ```
160
160
*/
161
161
commit ( gaxOptions ?: CallOptions ) : Promise < CommitResponse > ;
162
+ /**
163
+ * @param {object } [gaxOptions] Request configuration options, outlined here:
164
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions.
165
+ * @param {function } callback The callback function.
166
+ * @param {?error } callback.err An error returned while making this request.
167
+ * If the commit fails, we automatically try to rollback the transaction
168
+ * (see {module:datastore/transaction#rollback}).
169
+ * @param {object } callback.apiResponse The full API response.
170
+ */
162
171
commit ( callback : CommitCallback ) : void ;
163
172
commit ( gaxOptions : CallOptions , callback : CommitCallback ) : void ;
164
173
commit (
You can’t perform that action at this time.
0 commit comments