@@ -217,7 +217,7 @@ public final class RegistryClient: AsyncCancellable {
217217 timeout: DispatchTimeInterval ? = . none,
218218 observabilityScope: ObservabilityScope ,
219219 callbackQueue: DispatchQueue ,
220- completion: @escaping ( Result < PackageMetadata , Error > ) -> Void
220+ completion: @escaping @ Sendable ( Result < PackageMetadata , Error > ) -> Void
221221 ) {
222222 callbackQueue. asyncResult ( completion) {
223223 try await self . getPackageMetadata (
@@ -377,7 +377,7 @@ public final class RegistryClient: AsyncCancellable {
377377 fileSystem: FileSystem ,
378378 observabilityScope: ObservabilityScope ,
379379 callbackQueue: DispatchQueue ,
380- completion: @escaping ( Result < PackageVersionMetadata , Error > ) -> Void
380+ completion: @escaping @ Sendable ( Result < PackageVersionMetadata , Error > ) -> Void
381381 ) {
382382 callbackQueue. asyncResult ( completion) {
383383 try await self . getPackageVersionMetadata (
@@ -620,7 +620,7 @@ public final class RegistryClient: AsyncCancellable {
620620 timeout: DispatchTimeInterval ? = . none,
621621 observabilityScope: ObservabilityScope ,
622622 callbackQueue: DispatchQueue ,
623- completion: @escaping ( Result < [ String : ( toolsVersion: ToolsVersion , content: String ? ) ] , Error > ) -> Void
623+ completion: @escaping @ Sendable ( Result < [ String : ( toolsVersion: ToolsVersion , content: String ? ) ] , Error > ) -> Void
624624 ) {
625625 callbackQueue. asyncResult ( completion) {
626626 try await self . getAvailableManifests (
@@ -775,7 +775,7 @@ public final class RegistryClient: AsyncCancellable {
775775 timeout: DispatchTimeInterval ? = . none,
776776 observabilityScope: ObservabilityScope ,
777777 callbackQueue: DispatchQueue ,
778- completion: @escaping ( Result < String , Error > ) -> Void
778+ completion: @escaping @ Sendable ( Result < String , Error > ) -> Void
779779 ) {
780780 callbackQueue. asyncResult ( completion) {
781781 try await self . getManifestContent (
@@ -997,7 +997,7 @@ public final class RegistryClient: AsyncCancellable {
997997 fileSystem: FileSystem ,
998998 observabilityScope: ObservabilityScope ,
999999 callbackQueue: DispatchQueue ,
1000- completion: @escaping ( Result < Void , Error > ) -> Void
1000+ completion: @escaping @ Sendable ( Result < Void , Error > ) -> Void
10011001 ) {
10021002 callbackQueue. asyncResult ( completion) {
10031003 try await self . downloadSourceArchive (
@@ -1084,7 +1084,7 @@ public final class RegistryClient: AsyncCancellable {
10841084 timeout: DispatchTimeInterval ? = . none,
10851085 observabilityScope: ObservabilityScope ,
10861086 callbackQueue: DispatchQueue ,
1087- completion: @escaping ( Result < Set < PackageIdentity > , Error > ) -> Void
1087+ completion: @escaping @ Sendable ( Result < Set < PackageIdentity > , Error > ) -> Void
10881088 ) {
10891089 callbackQueue. asyncResult ( completion) {
10901090 try await self . lookupIdentities (
@@ -1133,7 +1133,7 @@ public final class RegistryClient: AsyncCancellable {
11331133 timeout: DispatchTimeInterval ? = . none,
11341134 observabilityScope: ObservabilityScope ,
11351135 callbackQueue: DispatchQueue ,
1136- completion: @escaping ( Result < Void , Error > ) -> Void
1136+ completion: @escaping @ Sendable ( Result < Void , Error > ) -> Void
11371137 ) {
11381138 callbackQueue. asyncResult ( completion) {
11391139 try await self . login (
@@ -1158,7 +1158,7 @@ public final class RegistryClient: AsyncCancellable {
11581158 fileSystem: FileSystem ,
11591159 observabilityScope: ObservabilityScope ,
11601160 callbackQueue: DispatchQueue ,
1161- completion: @escaping ( Result < PublishResult , Error > ) -> Void
1161+ completion: @escaping @ Sendable ( Result < PublishResult , Error > ) -> Void
11621162 ) {
11631163 callbackQueue. asyncResult ( completion) {
11641164 try await self . publish (
@@ -1342,7 +1342,7 @@ public final class RegistryClient: AsyncCancellable {
13421342 timeout: DispatchTimeInterval ? = . none,
13431343 observabilityScope: ObservabilityScope ,
13441344 callbackQueue: DispatchQueue ,
1345- completion: @escaping ( Result < AvailabilityStatus , Error > ) -> Void
1345+ completion: @escaping @ Sendable ( Result < AvailabilityStatus , Error > ) -> Void
13461346 ) {
13471347 callbackQueue. asyncResult ( completion) {
13481348 try await self . checkAvailability (
0 commit comments