SwiftprotocolWeatherCore

protocol WeatherCore.CoherenceDataManagerType

Members 11

  1. funcmethod descriptor for addLocation(_: WeatherCore.Location, displayContext: WeatherCore.LocationDisplayContext?) async -> WeatherCore.SyncedData
  2. funcmethod descriptor for commitToDisk(WeatherCore.SyncedData) -> Foundation.Data?
  3. funcmethod descriptor for getSyncedData() -> WeatherCore.SyncedData?
  4. funcmethod descriptor for getSyncedData(cachedIfAvailable: Bool) -> WeatherCore.SyncedData?
  5. funcmethod descriptor for locationID(by: Int) async -> String?
  6. funcmethod descriptor for makeData(from: WeatherCore.SyncedData) -> Foundation.Data?
  7. funcmethod descriptor for moveLocation(from: Int, to: Int) async -> WeatherCore.SyncedData
  8. funcmethod descriptor for removeAll() async -> WeatherCore.SyncedData
  9. funcmethod descriptor for removeLocation(by: String) async -> WeatherCore.SyncedData
  10. funcmethod descriptor for removeSyncedData() -> ()
  11. funcmethod descriptor for updateLocationTimeZones(with: [WeatherCore.SavedLocation]) -> WeatherCore.SyncedData?
protocol CoherenceDataManagerType {
    func addLocation(_: WeatherCore.Location, displayContext: WeatherCore.LocationDisplayContext?) async -> WeatherCore.SyncedData
    func removeLocation(by: Swift.String) async -> WeatherCore.SyncedData
    func removeAll() async -> WeatherCore.SyncedData
    func moveLocation(from: Swift.Int, to: Swift.Int) async -> WeatherCore.SyncedData
    func getSyncedData() -> WeatherCore.SyncedData?
    func getSyncedData(cachedIfAvailable: Swift.Bool) -> WeatherCore.SyncedData?
    func commitToDisk(_: WeatherCore.SyncedData) -> Foundation.Data?
    func removeSyncedData()
    func locationID(by: Swift.Int) async -> Swift.String?
    func makeData(from: WeatherCore.SyncedData) -> Foundation.Data?
    func updateLocationTimeZones(with: [WeatherCore.SavedLocation]) -> WeatherCore.SyncedData?
}