API Differences in Distributed in macOS 14.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in Distributed in the macOS 14.0 SDK.

Table of Contents

Classes

DistributedRemoteActorReferenceExecutor

Typealiases

DistributedActor
typealias NoActor = (Self) throws -> T
DistributedActor
typealias YesActor = (isolated Self) throws -> T

Functions & Methods

DistributedActor
@_silgen_name("$s11Distributed0A5ActorPAAE14assumeIsolated_4file4lineqd__qd__xYiKXE_s12StaticStringVSutKlF") nonisolated internal func __abi__assumeIsolated<T>(_ operation: (isolated Self) throws -> T, _ file: Swift.StaticString, _ line: Swift.UInt) rethrows -> T where T : Swift.Sendable
DistributedActor
@_transparent nonisolated public func assertIsolated(_ message: @autoclosure () -> Swift.String = String(), file: Swift.StaticString = #fileID, line: Swift.UInt = #line)
DistributedActor
nonisolated public func assumeIsolated<T>(_ operation: (isolated Self) throws -> T, file: Swift.StaticString = #fileID, line: Swift.UInt = #line) rethrows -> T where T : Swift.Sendable
DistributedActor
nonisolated public func preconditionIsolated(_ message: @autoclosure () -> Swift.String = String(), file: Swift.StaticString = #fileID, line: Swift.UInt = #line)
public func buildDefaultDistributedRemoteActorExecutor<Act>(_ actor: Act) -> _Concurrency.UnownedSerialExecutor where Act : Distributed.DistributedActor

Properties & Constants

DistributedActor
let msg = "Incorrect actor executor assumption; Expected '\(unownedExecutor)' executor. \(message())"
DistributedActor
let rawFn = unsafeBitCast(fn, to: NoActor.self)
DistributedActor
nonisolated var unownedExecutor: _Concurrency.UnownedSerialExecutor
DistributedActor
let unownedExecutor = self.unownedExecutor
DistributedActor
let unownedExecutor = self.unownedExecutor