From 62fafd05ee89308a70ba5d52ec95ffd4dc87dfbf Mon Sep 17 00:00:00 2001 From: Brandon <32753167+btoms20@users.noreply.github.com> Date: Tue, 18 Nov 2025 13:10:26 -0800 Subject: [PATCH 1/2] made ConnectionState sendable --- Sources/LibP2PCore/Network/Connection.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/LibP2PCore/Network/Connection.swift b/Sources/LibP2PCore/Network/Connection.swift index e6ce993..7607445 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 From a4ab12c442cb212b5ef2745d13133b226a3ed98f Mon Sep 17 00:00:00 2001 From: Brandon <32753167+btoms20@users.noreply.github.com> Date: Tue, 18 Nov 2025 13:10:46 -0800 Subject: [PATCH 2/2] made ConnectionEvent sendable --- Sources/LibP2PCore/Network/Connection.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/LibP2PCore/Network/Connection.swift b/Sources/LibP2PCore/Network/Connection.swift index 7607445..20a8849 100644 --- a/Sources/LibP2PCore/Network/Connection.swift +++ b/Sources/LibP2PCore/Network/Connection.swift @@ -273,7 +273,7 @@ public enum ConnectionState: Sendable { case closed } -public enum ConnectionEvent { +public enum ConnectionEvent: Sendable { case initialized case dialing //case state(Transport)