File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -194,10 +194,6 @@ - (FIRWriteBatch *)batch {
194
194
writeBatch: _firestore->GetBatch ()];
195
195
}
196
196
197
- - (void )waitForPendingWritesWithCompletion : (void (^)(NSError *_Nullable error))completion {
198
- _firestore->WaitForPendingWrites (util::MakeCallback (completion));
199
- }
200
-
201
197
- (void )runTransactionWithBlock : (id _Nullable (^)(FIRTransaction *, NSError **))updateBlock
202
198
dispatchQueue:(dispatch_queue_t )queue
203
199
completion:
@@ -318,6 +314,10 @@ - (void)shutdownWithCompletion:(nullable void (^)(NSError *_Nullable error))comp
318
314
[self shutdownInternalWithCompletion: completion];
319
315
}
320
316
317
+ - (void )waitForPendingWritesWithCompletion : (void (^)(NSError *_Nullable error))completion {
318
+ _firestore->WaitForPendingWrites (util::MakeCallback (completion));
319
+ }
320
+
321
321
@end
322
322
323
323
NS_ASSUME_NONNULL_END
You can’t perform that action at this time.
0 commit comments