diff --git a/Sources/LibP2PCore/Network/Connection.swift b/Sources/LibP2PCore/Network/Connection.swift index e6ce993..20a8849 100644 --- a/Sources/LibP2PCore/Network/Connection.swift +++ b/Sources/LibP2PCore/Network/Connection.swift @@ -265,7 +265,7 @@ public class ConnectionStats: CustomStringConvertible { } } -public enum ConnectionState { +public enum ConnectionState: Sendable { case raw case secured case muxed @@ -273,7 +273,7 @@ public enum ConnectionState { case closed } -public enum ConnectionEvent { +public enum ConnectionEvent: Sendable { case initialized case dialing //case state(Transport)