Skip to content

Commit ce52295

Browse files
committed
Discardable result
1 parent abe4da1 commit ce52295

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MapboxGeocoder/MBGeocoder.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ open class Geocoder: NSObject {
206206
- parameter completionHandler: The closure (block) to call with the resulting placemarks. This closure is executed on the application’s main thread.
207207
- 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.
208208
*/
209+
@discardableResult
209210
open func batchGeocode<T: GeocodeOptions>(_ options: T, completionHandler: @escaping BatchCompletionHandler) -> URLSessionDataTask where T: BatchGeocodeOptions {
210211
let url = urlForGeocoding(options)
211212

0 commit comments

Comments
 (0)