RedMadRobot/apexy-ios

Add request without progress

flyer2001 opened this issue · 1 comments

In some cases (for simple request) no progress is needed

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?