From c4228a32bda6d7de67168e16b2102a9665765763 Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Tue, 12 Nov 2024 14:07:06 -0500 Subject: [PATCH] Add `Sendable` to `BluetoothHostControllerError` --- Sources/BluetoothHCI/BluetoothHostController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/BluetoothHCI/BluetoothHostController.swift b/Sources/BluetoothHCI/BluetoothHostController.swift index b2e3922d8..a4f230ac8 100644 --- a/Sources/BluetoothHCI/BluetoothHostController.swift +++ b/Sources/BluetoothHCI/BluetoothHostController.swift @@ -7,6 +7,7 @@ // import Foundation +import Bluetooth /// Bluetooth HCI controller. public protocol BluetoothHostControllerInterface: AnyObject { @@ -44,7 +45,7 @@ public protocol BluetoothHostControllerInterface: AnyObject { /// Bluetooth HCI errors @frozen -public enum BluetoothHostControllerError: Error { +public enum BluetoothHostControllerError: Error, Sendable { /// The specified adapter could not be found. case adapterNotFound