Several fixes and optimizations all over the library #28

Merged
javier merged 22 commits from library/several-fixes-and-optimizations into main 2026-07-26 09:56:33 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 70581d7787 - Show all commits
@@ -15,7 +15,9 @@
import Foundation import Foundation
/// A protocol that defines API clients containing all available endpoints to interact with. /// 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 // MARK: Functions
@@ -15,7 +15,7 @@
import Foundation import Foundation
/// A type that implements the service that uses a client to make calls. /// A type that implements the service that uses a client to make calls.
public struct AmiiboService { public struct AmiiboService: Sendable {
// MARK: Properties // MARK: Properties