@@ -21,7 +21,7 @@ public final class LocationManagerAsync: NSObject, CLLocationManagerDelegate, IL
2121
2222 // Streaming locations
2323
24- /// Async stream of locations
24+ /// Async stream of ``CLLocation``
2525 private var locations : AsyncThrowingStream < CLLocation , Error > {
2626 . init( CLLocation . self) { continuation in
2727 streaming ( with: continuation)
@@ -97,7 +97,7 @@ public final class LocationManagerAsync: NSObject, CLLocationManagerDelegate, IL
9797 manager. startUpdatingLocation ( )
9898 }
9999
100- /// Passing location data
100+ /// Passing ``CLLocation`` data
101101 /// - Parameter location: Location data
102102 private func pass( location : CLLocation ) {
103103 stream? . yield ( location)
@@ -127,10 +127,10 @@ public final class LocationManagerAsync: NSObject, CLLocationManagerDelegate, IL
127127
128128 // MARK: - Delegate
129129
130- /// Pass locations into the async stream
130+ /// Pass ``CLLocation`` into the async stream
131131 /// - Parameters:
132132 /// - manager: Location manager
133- /// - locations: Array of locations
133+ /// - locations: Array of ``CLLocation``
134134 public func locationManager( _ manager: CLLocationManager , didUpdateLocations locations: [ CLLocation ] ) {
135135 locations. forEach { pass ( location: $0) }
136136 }
0 commit comments