SwiftprotocolWeatherCore
SavedLocationsReaderType
protocol WeatherCore.SavedLocationsReaderType
Members 4
- func
method descriptor for fetchSavedLocations() -> [WeatherCore.LocationDataModel]? - func
method descriptor for fetchSavedLocations(from: WeatherCore.KeyValueStoreType) -> [WeatherCore.LocationDataModel]? - func
method descriptor for fetchSavedLocationsAsync() async -> [WeatherCore.LocationDataModel]? - func
method descriptor for fetchSyncedData(from: WeatherCore.KeyValueStoreType, fallbackToLegacy: Bool) -> WeatherCore.FetchSyncedDataResult
Header
protocol SavedLocationsReaderType { func fetchSavedLocations() -> [WeatherCore.LocationDataModel]? func fetchSavedLocationsAsync() async -> [WeatherCore.LocationDataModel]? func fetchSavedLocations(from: any WeatherCore.KeyValueStoreType) -> [WeatherCore.LocationDataModel]? func fetchSyncedData(from: any WeatherCore.KeyValueStoreType, fallbackToLegacy: Swift.Bool) -> WeatherCore.FetchSyncedDataResult }