From 0b95632388681766542864f60eda5f4323de1623 Mon Sep 17 00:00:00 2001 From: Lawrence Forooghian Date: Wed, 18 Dec 2024 16:28:53 -0300 Subject: [PATCH] Remove @preconcurrency from ably-cocoa imports No longer needed now that [1] is done. Resolves #31. [1] https://github.com/ably/ably-cocoa/issues/1962 --- Sources/AblyChat/RoomLifecycleManager.swift | 2 +- Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift | 2 +- .../Mocks/MockRoomLifecycleContributorChannel.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/AblyChat/RoomLifecycleManager.swift b/Sources/AblyChat/RoomLifecycleManager.swift index 38590596..90f9ed74 100644 --- a/Sources/AblyChat/RoomLifecycleManager.swift +++ b/Sources/AblyChat/RoomLifecycleManager.swift @@ -1,4 +1,4 @@ -@preconcurrency import Ably +import Ably import AsyncAlgorithms /// The interface that the lifecycle manager expects its contributing realtime channels to conform to. diff --git a/Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift b/Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift index 1bcf594f..ac2cc3b5 100644 --- a/Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift +++ b/Tests/AblyChatTests/DefaultRoomLifecycleManagerTests.swift @@ -1,4 +1,4 @@ -@preconcurrency import Ably +import Ably @testable import AblyChat import Testing diff --git a/Tests/AblyChatTests/Mocks/MockRoomLifecycleContributorChannel.swift b/Tests/AblyChatTests/Mocks/MockRoomLifecycleContributorChannel.swift index ceb431c6..a7b13a85 100644 --- a/Tests/AblyChatTests/Mocks/MockRoomLifecycleContributorChannel.swift +++ b/Tests/AblyChatTests/Mocks/MockRoomLifecycleContributorChannel.swift @@ -1,4 +1,4 @@ -@preconcurrency import Ably +import Ably @testable import AblyChat final actor MockRoomLifecycleContributorChannel: RoomLifecycleContributorChannel {