Skip to content

Commit 26ab412

Browse files
authored
Merge f6e7706 into 19e37af
2 parents 19e37af + f6e7706 commit 26ab412

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/firestore/src/api/transaction.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ export class Transaction extends LiteTransaction {
9191
* transaction against.
9292
* @param updateFunction - The function to execute within the transaction
9393
* context.
94+
* @param options - An options object to configure maximum number of attempts to
95+
* commit.
9496
* @returns If the transaction completed successfully or was explicitly aborted
9597
* (the `updateFunction` returned a failed promise), the promise returned by the
9698
* `updateFunction `is returned here. Otherwise, if the transaction failed, a

packages/firestore/src/lite-api/transaction.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ export class Transaction {
265265
* transaction against.
266266
* @param updateFunction - The function to execute within the transaction
267267
* context.
268+
* @param options - An options object to configure maximum number of attempts to
269+
* commit.
268270
* @returns If the transaction completed successfully or was explicitly aborted
269271
* (the `updateFunction` returned a failed promise), the promise returned by the
270272
* `updateFunction `is returned here. Otherwise, if the transaction failed, a

0 commit comments

Comments
 (0)