We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba578ec commit b0dcf33Copy full SHA for b0dcf33
FirebaseRemoteConfig/Tests/Swift/SwiftAPI/RemoteConfigConsole.swift
@@ -13,6 +13,7 @@
13
// limitations under the License.
14
15
import FirebaseCore
16
+import Foundation
17
18
class RemoteConfigConsole {
19
private let projectID: String
@@ -166,7 +167,9 @@ class RemoteConfigConsole {
166
167
168
let semaphore = DispatchSemaphore(value: 0)
169
- let task = URLSession.shared.dataTask(with: request) { data, response, error in
170
+ let task: URLSessionDataTask = URLSession.shared.dataTask(
171
+ with: request
172
+ ) { data, response, error in
173
// Signal the semaphore when this scope is escaped.
174
defer { semaphore.signal() }
175
0 commit comments