Skip to content

Commit 8a88569

Browse files
committed
[Distributed] remoteCallVoid is a new requirement in Swift 6.0
And it is handled compatibly because all existing implementations must have already implemented it before -- it was an ad-hoc requirement before Swift 6.0, and now it has become a real requirement - the same as all the other ad-hoc requirements relying on the Serialization Requirement
1 parent 3b95855 commit 8a88569

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Distributed/DistributedActorSystem.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ public protocol DistributedActorSystem<SerializationRequirement>: Sendable {
357357
/// ## Errors
358358
/// This method is allowed to throw because of underlying transport or serialization errors,
359359
/// as well as by re-throwing the error received from the remote callee (if able to).
360+
@available(SwiftStdlib 6.0, *)
360361
func remoteCallVoid<Act, Err>(
361362
on actor: Act,
362363
target: RemoteCallTarget,

0 commit comments

Comments
 (0)