Instance Methodswift 6.0.1Distributed
assignID(_:)
- iOS
- 16.0+
- macOS
- 13.0+
- tvOS
- 16.0+
- watchOS
- 9.0+
func assignID<Act>(_ actorType: Act.Type) -> LocalTestingDistributedActorSystem.ActorID where Act : DistributedActor
Other members in extension
Typealiases
typealias ActorID
typealias InvocationDecoder
typealias InvocationEncoder
typealias ResultHandler
typealias SerializationRequirement
Type members
Instance members
func actorReady<Act>(Act
) func makeInvocationEncoder(
) -> LocalTestingDistributedActorSystem.InvocationEncoder func remoteCall<Act, Err, Res>(on: Act, target: RemoteCallTarget, invocation: inout LocalTestingDistributedActorSystem.InvocationEncoder, throwing: Err.Type, returning: Res.Type
) async throws -> Res func remoteCallVoid<Act, Err>(on: Act, target: RemoteCallTarget, invocation: inout LocalTestingDistributedActorSystem.InvocationEncoder, throwing: Err.Type
) async throws func resignID(LocalTestingDistributedActorSystem.ActorID
) func resolve<Act>(id: LocalTestingDistributedActorSystem.ActorID, as: Act.Type
) throws -> Act?