Skip to content

Commit

Permalink
[Config] Port over Sendability changes from #14375
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Jan 27, 2025
1 parent 6c34449 commit 7188b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FirebaseRemoteConfig/SwiftNew/RemoteConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ open class RemoteConfig: NSObject, NSFastEnumeration {

/// Ensures initialization is complete and clients can begin querying for Remote Config values.
/// - Parameter completionHandler: Initialization complete callback with error parameter.
@objc public func ensureInitialized(completionHandler: @escaping (Error?) -> Void) {
@objc public func ensureInitialized(completionHandler: @Sendable @escaping (Error?) -> Void) {
DispatchQueue.global(qos: .utility).async { [weak self] in
guard let self else { return }
let initializationSuccess = self.configContent.initializationSuccessful()
Expand Down

0 comments on commit 7188b4f

Please sign in to comment.