Several fixes and optimizations all over the library #28
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user