 import Socket
 
 /// L2CAP Bluetooth socket
-public final class L2CAPSocket: Bluetooth.L2CAPSocket {
+public actor L2CAPSocket: Bluetooth.L2CAPSocket {
     
     // MARK: - Properties
     

    /// L2CAP Socket address
    public let address: BluetoothAddress
    
    public lazy var event: L2CAPSocketEventStream = { [unowned self] in
        let stream = self.socket.event
        var iterator = stream.makeAsyncIterator()
        return L2CAPSocketEventStream(unfolding: {

                .next()
                .map { L2CAPSocketEvent($0) }
        })
    }
    
    // MARK: - Initialization

