Skip to content

wayne90040/WLNetwork

Repository files navigation

WLNetwork

Example

API.getStockTW {
  switch $0 {
  case .success(let response):
      print(response)
  case .failure(let error):
      print(error)
  }
}
Task {
    let result = await API.getStockTW()
    switch result {
    case .success(let response):
        print(response)
    case .failure(let error):
        print(error)
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published