Skip to content

Commit c2dff5e

Browse files
Merge ca4e740 into 88e1f88
2 parents 88e1f88 + ca4e740 commit c2dff5e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/firestore/src/util/async_queue.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,10 @@ export class AsyncQueue {
321321
* operations were retried successfully.
322322
*/
323323
enqueueRetryable(op: () => Promise<void>): void {
324-
this.retryableOps.push(op);
325-
this.enqueueAndForget(() => this.retryNextOp());
324+
this.enqueueAndForget(() => {
325+
this.retryableOps.push(op);
326+
return this.retryNextOp();
327+
});
326328
}
327329

328330
/**

0 commit comments

Comments
 (0)