Conformed the Amiibo client and service in the library target to the Sendable protocol.

This commit is contained in:
2026-07-26 01:26:32 +02:00
parent f7ed59e0c7
commit 70581d7787
2 changed files with 4 additions and 2 deletions
@@ -15,7 +15,9 @@
import Foundation
/// A protocol that defines API clients containing all available endpoints to interact with.
public protocol AmiiboClient {
///
/// Conforming types must be `Sendable`, as clients are expected to be used safely across concurrency domains.
public protocol AmiiboClient: Sendable {
// MARK: Functions
@@ -15,7 +15,7 @@
import Foundation
/// A type that implements the service that uses a client to make calls.
public struct AmiiboService {
public struct AmiiboService: Sendable {
// MARK: Properties