Add request without progress
flyer2001 opened this issue · 1 comments
flyer2001 commented
In some cases (for simple request) no progress is needed
Alexander-Ignition commented
You can write an underscore if you don't need progress
_ = client.request(endpoint) { (result: Result<Book, Error>)
print(result)
}
or do you want the function request(_: completionHandler:)
to be with the annotation @discardableResult
?