Skip to content

Commit

Permalink
Discardable result
Browse files Browse the repository at this point in the history
  • Loading branch information
frederoni committed Dec 7, 2017
1 parent abe4da1 commit ce52295
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MapboxGeocoder/MBGeocoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ open class Geocoder: NSObject {
- parameter completionHandler: The closure (block) to call with the resulting placemarks. This closure is executed on the application’s main thread.
- returns: The data task used to perform the HTTP request. If, while waiting for the completion handler to execute, you no longer want the resulting placemarks, cancel this task.
*/
@discardableResult
open func batchGeocode<T: GeocodeOptions>(_ options: T, completionHandler: @escaping BatchCompletionHandler) -> URLSessionDataTask where T: BatchGeocodeOptions {
let url = urlForGeocoding(options)

Expand Down

0 comments on commit ce52295

Please sign in to comment.