-
-
Save thexande/176c72b87d2dc0e1106737812032157b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public protocol WorldStoreInterface { | |
func fetchAllCountries(cachePolicy: CachePolicy, | |
completion: @escaping ((Result<[World.CountryLite], World.StoreError>) -> Void)) | |
func fetchCountry(code: String, | |
cachePolicy: CachePolicy, | |
completion: @escaping ((Result<World.CountryDetail, World.StoreError>) -> Void)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment