SwiftprotocolWeatherCore

protocol WeatherCore.HashSaltProviderType

Members 5

  1. funcmethod descriptor for addObserver(WeatherCore.HashSaltProviderObserver) -> ()
  2. funcmethod descriptor for generateSalt() -> String
  3. funcmethod descriptor for isSaltAvailable(completion: (Bool, Error?) -> ()) -> ()
  4. funcmethod descriptor for removeObserver(WeatherCore.HashSaltProviderObserver) -> ()
  5. varvar salt: String? { get }
protocol HashSaltProviderType {
    var salt: Swift.String? {
        get
    }

    func isSaltAvailable(completion: @escaping (Swift.Bool, (any Swift.Error)?) -> ())
    func generateSalt() -> Swift.String
    func addObserver(_: any WeatherCore.HashSaltProviderObserver)
    func removeObserver(_: any WeatherCore.HashSaltProviderObserver)
}