@@ -382,6 +382,7 @@ public protocol DistributedActorSystem<SerializationRequirement>: Sendable {
382382 /// ## Errors
383383 /// This method is allowed to throw because of underlying transport or serialization errors,
384384 /// as well as by re-throwing the error received from the remote callee (if able to).
385+ @available ( SwiftStdlib 5 . 11 , * )
385386 func remoteCall< Act, Err, Res> (
386387 on actor : Act ,
387388 target: RemoteCallTarget ,
@@ -798,6 +799,7 @@ public protocol DistributedTargetInvocationEncoder<SerializationRequirement> {
798799
799800 /// Record an argument of `Argument` type.
800801 /// This will be invoked for every argument of the target, in declaration order.
802+ @available ( SwiftStdlib 5 . 11 , * )
801803 mutating func recordArgument< Value/*: SerializationRequirement*/> (
802804 _ argument: RemoteCallArgument < Value >
803805 ) throws
@@ -810,6 +812,7 @@ public protocol DistributedTargetInvocationEncoder<SerializationRequirement> {
810812
811813 /// Record the return type of the distributed method.
812814 /// This method will not be invoked if the target is returning `Void`.
815+ @available ( SwiftStdlib 5 . 11 , * )
813816 mutating func recordReturnType< R/*: SerializationRequirement*/> ( _ type: R . Type ) throws
814817
815818 /// Invoked to signal to the encoder that no further `record...` calls will be made on it.
@@ -948,6 +951,7 @@ public protocol DistributedTargetInvocationDecoder<SerializationRequirement> {
948951 /// buffer for all the arguments and their expected types. The 'pointer' passed here is a pointer
949952 /// to a "slot" in that pre-allocated buffer. That buffer will then be passed to a thunk that
950953 /// performs the actual distributed (local) instance method invocation.
954+ @available ( SwiftStdlib 5 . 11 , * )
951955 mutating func decodeNextArgument< Argument /*: SerializationRequirement*/> ( ) throws -> Argument
952956
953957 /// Decode the specific error type that the distributed invocation target has recorded.
@@ -996,6 +1000,7 @@ public protocol DistributedTargetInvocationResultHandler<SerializationRequiremen
9961000
9971001 /// Invoked when the distributed target execution returns successfully.
9981002 /// The `value` is the return value of the executed distributed invocation target.
1003+ @available ( SwiftStdlib 5 . 11 , * )
9991004 func onReturn< Success/*: SerializationRequirement*/> ( value: Success ) async throws
10001005
10011006 /// Invoked when the distributed target execution of a `Void` returning
0 commit comments