We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 85caac5 + 1295d9b commit d734e66Copy full SHA for d734e66
1 file changed
Sources/Apollo/InMemoryNormalizedCache.swift
@@ -33,11 +33,6 @@ public final class InMemoryNormalizedCache: NormalizedCache {
33
public func clear(callbackQueue: DispatchQueue?,
34
completion: ((Result<Void, Error>) -> Void)?) {
35
clearImmediately()
36
-
37
- guard let completion = completion else {
38
- return
39
- }
40
41
DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
42
action: completion,
43
result: .success(()))
0 commit comments