SwiftprotocolWeatherCore

protocol WeatherCore.SavedLocationsReaderType

Members 4

  1. funcmethod descriptor for fetchSavedLocations() -> [WeatherCore.LocationDataModel]?
  2. funcmethod descriptor for fetchSavedLocations(from: WeatherCore.KeyValueStoreType) -> [WeatherCore.LocationDataModel]?
  3. funcmethod descriptor for fetchSavedLocationsAsync() async -> [WeatherCore.LocationDataModel]?
  4. funcmethod descriptor for fetchSyncedData(from: WeatherCore.KeyValueStoreType, fallbackToLegacy: Bool) -> WeatherCore.FetchSyncedDataResult
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
}