Open jdisho opened 5 years ago
tinyNetworking.reactive.request(resource: .photo(id: 123)).start { event in switch event { case let .value(response): // Do something with the response. case let .failed(error): // Do something with the error. default: break } }