We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f5b969 commit f7ad71eCopy full SHA for f7ad71e
1 file changed
Sources/LocationCacheStore/LocationStore.swift
@@ -15,7 +15,13 @@ public enum LocationStoreAction {
15
16
/// `LocationStore` Dependency
17
public struct LocationStoreDependency {
18
- var updateLocation: () async -> CLLocation?
+ public var updateLocation: () async -> CLLocation?
19
+
20
+ public init(
21
+ updateLocation: @escaping () async -> CLLocation?
22
+ ) {
23
+ self.updateLocation = updateLocation
24
+ }
25
}
26
27
public extension LocationStoreDependency {
0 commit comments