API Differences in Distributed in iOS 18.0

It can be difficult to find what changed in Apple SDKs. These pages are algorithmically generated and show what is new in Distributed in the iOS 18.0 SDK.

Table of Contents

Protocols

_DistributedActorStub

Functions & Methods

DistributedActorSystem
func remoteCall<Act, Err, Res>(on actor: Act, target: Distributed.RemoteCallTarget, invocation: inout Self.InvocationEncoder, throwing: Err.Type, returning: Res.Type) async throws -> Res where Act : Distributed.DistributedActor, Err : Swift.Error, Self.ActorID == Act.ID
DistributedActorSystem
func remoteCallVoid<Act, Err>(on actor: Act, target: Distributed.RemoteCallTarget, invocation: inout Self.InvocationEncoder, throwing: Err.Type) async throws where Act : Distributed.DistributedActor, Err : Swift.Error, Self.ActorID == Act.ID
DistributedTargetInvocationDecoder
mutating func decodeNextArgument<Argument>() throws -> Argument
DistributedTargetInvocationEncoder
mutating func recordArgument<Value>(_ argument: Distributed.RemoteCallArgument<Value>) throws
DistributedTargetInvocationEncoder
mutating func recordReturnType<R>(_ type: R.Type) throws
DistributedTargetInvocationResultHandler
func onReturn<Success>(value: Success) async throws
public func _diagnoseDistributedStubMethodCalled(className: Swift.StaticString, funcName: Swift.StaticString = #function, file: Swift.StaticString = #file, line: Swift.UInt = #line, column: Swift.UInt = #column) -> Swift.Never
public func _distributedStubFatalError(function: Swift.String = #function) -> Swift.Never