From a666523bb36d4933a504569e6e93669ed274b5fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ashok=20=C3=9Aradn=C3=AD=C4=8Dek?= Date: Tue, 26 Nov 2024 09:24:14 +0100 Subject: [PATCH] Added ReadyState conformance to Sendable --- Sources/EventSource/EventSource.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/EventSource/EventSource.swift b/Sources/EventSource/EventSource.swift index f5688b9..58aff1f 100644 --- a/Sources/EventSource/EventSource.swift +++ b/Sources/EventSource/EventSource.swift @@ -28,7 +28,7 @@ public struct EventSource: Sendable { } /// State of the connection. - public enum ReadyState: Int { + public enum ReadyState: Int, Sendable { case none = -1 case connecting = 0 case open = 1