//
//  WeatherSource.swift
//  1Weather
//
//  Created by Demid Merzlyakov on 25.02.2021.
//

import Foundation

public typealias WeatherSourceCompletion = (Location?, Error?) -> ()

public protocol WeatherSource {
    func updateWeather(for location: Location, completion: @escaping WeatherSourceCompletion)
}
