Skip to content

Commit 3225406

Browse files
authored
Use the provided callback queue instead of the store's default. (#1904)
1 parent e10c197 commit 3225406

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/Apollo/ApolloClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ extension ApolloClient: ApolloClientProtocol {
8282

8383
public func clearCache(callbackQueue: DispatchQueue = .main,
8484
completion: ((Result<Void, Error>) -> Void)? = nil) {
85-
self.store.clearCache(completion: completion)
85+
self.store.clearCache(callbackQueue: callbackQueue, completion: completion)
8686
}
8787

8888
@discardableResult public func fetch<Query: GraphQLQuery>(query: Query,

0 commit comments

Comments
 (0)