Skip to content

Commit df6af7c

Browse files
paulb777ncooke3
andauthored
Update FirebaseRemoteConfig/SwiftNew/ConfigContent.swift
Co-authored-by: Nick Cooke <[email protected]>
1 parent b2f1b99 commit df6af7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

FirebaseRemoteConfig/SwiftNew/ConfigContent.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ class ConfigContent: NSObject {
9696
return checkAndWaitForInitialDatabaseLoad()
9797
}
9898

99+
/// We load the database async at init time. Block all further calls to active/fetched/default
100+
/// configs until load is done.
99101
@discardableResult
100102
private func checkAndWaitForInitialDatabaseLoad() -> Bool {
101103
/// Wait until load is done. This should be a no-op for subsequent calls.

0 commit comments

Comments
 (0)