diff --git a/MapboxGeocoder/MBGeocoder.swift b/MapboxGeocoder/MBGeocoder.swift index 64e4624..911d67f 100644 --- a/MapboxGeocoder/MBGeocoder.swift +++ b/MapboxGeocoder/MBGeocoder.swift @@ -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(_ options: T, completionHandler: @escaping BatchCompletionHandler) -> URLSessionDataTask where T: BatchGeocodeOptions { let url = urlForGeocoding(options)