Binary Moduleswift 6.0.1Distributed
Distributed
import Distributed
Module information
- Declarations
- 122
- Symbols
- 126
Uncategorized
Protocols
protocol DistributedActor
Common protocol to which all distributed actors conform implicitly.
protocol DistributedActorSystem<SerializationRequirement>
A distributed actor system underpins and implements all functionality of distributed actors.
protocol DistributedActorSystemError
Error protocol to which errors thrown by any
DistributedActorSystem
should conform.protocol DistributedTargetInvocationDecoder<SerializationRequirement>
Decoder that must be provided to
executeDistributedTarget
and is used by the Swift runtime to decode arguments of the invocation.protocol DistributedTargetInvocationEncoder<SerializationRequirement>
Used to encode an invocation of a distributed target (method or computed property).
protocol DistributedTargetInvocationResultHandler<SerializationRequirement>
Protocol a distributed invocation execution’s result handler.
Types
struct DistributedActorCodingError
Error thrown by distributed actor systems while encountering encoding/decoding issues.
struct ExecuteDistributedTargetError
Error thrown by
executeDistributedTarget(on:target:invocationDecoder:handler:)
.struct LocalTestingActorID
class LocalTestingDistributedActorSystem
A
DistributedActorSystem
designed for local only testing.struct LocalTestingDistributedActorSystemError
class LocalTestingInvocationDecoder
struct LocalTestingInvocationEncoder
struct LocalTestingInvocationResultHandler
struct RemoteCallArgument<Value>
Represents an argument passed to a distributed call target.
struct RemoteCallTarget
Represents a ‘target’ of a distributed call, such as a
distributed func
ordistributed
computed property. Identification schemes may vary between systems, and are subject to evolution.
Typealiases
Show obsolete interfaces (1)
Hide obsolete interfaces
Macros
macro Resolvable(
) Enables the attached to protocol to be resolved as remote distributed actor reference.
Globals
func buildDefaultDistributedRemoteActorExecutor<Act>(Act
) -> UnownedSerialExecutor Obtain the unowned
SerialExecutor
that is used by by remote distributed actor references. The executor is shared between all remote default executor remote distributed actors, and it will crash if any job is enqueued on it.