File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Source/Public/FirebaseFirestore Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ NS_SWIFT_NAME(Firestore)
144
144
*/
145
145
- (void )runTransactionWithBlock:(id _Nullable (^)(FIRTransaction *, NSError **))updateBlock
146
146
completion:(void (^)(id _Nullable result, NSError *_Nullable error))completion
147
- __attribute__((swift_async(none))); // Disable async import due to #9426.
147
+ __attribute__((swift_async(none))); // Disable async import due to #9426.
148
148
149
149
/* *
150
150
* Creates a write batch, used for performing multiple writes as a single
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ import Foundation
84
84
/// @param updateBlock The block to execute within the transaction context.
85
85
/// @param completion The block to call with the result or error of the transaction. This
86
86
/// block will run even if the client is offline, unless the process is killed.
87
- func runTransaction(
88
- _ updateBlock : @escaping ( Transaction , NSErrorPointer ) -> Any ? ) async throws -> Any ? {
87
+ func runTransaction( _ updateBlock : @escaping ( Transaction , NSErrorPointer )
88
+ -> Any ? ) async throws -> Any ? {
89
89
// This needs to be wrapped in order to express a nullable return value upon success.
90
90
// See https://github.com/firebase/firebase-ios-sdk/issues/9426 for more details.
91
91
return try await withCheckedThrowingContinuation { continuation in
You can’t perform that action at this time.
0 commit comments