One Logo Pool Ball
Distributed · IOS API REFERENCE

RemoteCallTarget

struct · iOS 16.0+ · SDK 27.1

struct RemoteCallTarget

Represents a 'target' of a distributed call, such as a `distributed func` or `distributed` computed property. Identification schemes may vary between systems, and are subject to evolution. Actor systems generally should treat the `identifier` as an opaque string, and pass it along to the remote system for in their `remoteCall` implementation. Alternative approaches are possible, where the identifiers are either compressed, cached, or represented in other ways, as long as the recipient system is able to determine which target was intended to be invoked. The string representation will attempt to pretty print the target identifier, however its exact format is not specified and may change in future versions.

Members (3)

get · iOS 16.0+

identifier

TypeScript
get identifier(): string
Swift declaration
var identifier: String { get }

The underlying identifier of the target, returned as-is.

get · iOS 16.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

Attempts to pretty format the underlying target identifier. If unable to, returns the raw underlying identifier.

init · iOS 16.0+

init

TypeScript
static init(identifier: string): RemoteCallTarget
Swift declaration
init(_ identifier: String)

Skipped declarations

No declarations were skipped in this snapshot.

All Distributed types →