File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 99
1010import Distributed
1111
12- // NOTE: None of the ad-hoc protocol requirement implementations
13-
1412public protocol Transferable : Sendable { }
1513
1614// NOT final on purpose
15+ @available ( SwiftStdlib 5 . 7 , * )
1716public class TheSpecificResultHandlerWhichIsANonFinalClass : DistributedTargetInvocationResultHandler {
1817 public typealias SerializationRequirement = Transferable
1918
@@ -30,6 +29,7 @@ public class TheSpecificResultHandlerWhichIsANonFinalClass: DistributedTargetInv
3029}
3130
3231// NOT final on purpose
32+ @available ( SwiftStdlib 5 . 7 , * )
3333public class FakeInvocationDecoder : DistributedTargetInvocationDecoder {
3434 public typealias SerializationRequirement = Transferable
3535
@@ -51,6 +51,7 @@ public class FakeInvocationDecoder: DistributedTargetInvocationDecoder {
5151}
5252
5353// NOT final on purpose
54+ @available ( SwiftStdlib 5 . 7 , * )
5455public class FakeInvocationEncoder : DistributedTargetInvocationEncoder {
5556 public typealias SerializationRequirement = Transferable
5657
@@ -72,6 +73,7 @@ public class FakeInvocationEncoder : DistributedTargetInvocationEncoder {
7273}
7374
7475// NOT final on purpose
76+ @available ( SwiftStdlib 5 . 7 , * )
7577public class NotFinalActorSystemForAdHocRequirementTest : DistributedActorSystem , @unchecked Sendable {
7678 public typealias ActorID = String
7779 public typealias InvocationEncoder = FakeInvocationEncoder
You can’t perform that action at this time.
0 commit comments