Skip to content

Commit

Permalink
Merge pull request #518 from getfiit/deprecate-ApolloClient-clearCache
Browse files Browse the repository at this point in the history
make `-[ApolloStore clearCache]` public
  • Loading branch information
designatednerd authored Jul 24, 2019
2 parents 9d186d6 + d0b8dba commit e62c1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Apollo/ApolloStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public final class ApolloStore {
}
}

func clearCache() -> Promise<Void> {
public func clearCache() -> Promise<Void> {
return Promise<Void> { fulfill, reject in
queue.async(flags: .barrier) {
self.cacheLock.withWriteLock {
Expand Down

0 comments on commit e62c1d9

Please sign in to comment.