SwiftextensionNetwork
DistributedActor
extension Distributed.DistributedActor where A.ActorSystem == Network.NWActorSystem
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
req{}
- sameType==associatedType
ActorSystem- basegenericParameter
A
extends{}
protocolDistributed.DistributedActor
Members 3
- func
static Distributed.DistributedActor< where A.ActorSystem == Network.NWActorSystem>.discover(_: Network.NWEndpoint, connectionParameters: Network.NWParameters, using: Network.NWActorSystem, invalidationHandler: ((Error?) -> ())?) throws -> A - func
static Distributed.DistributedActor< where A.ActorSystem == Network.NWActorSystem>.discover(_: Network.NWActorDiscoveryMechanism, using: Network.NWActorSystem) throws -> A - var
var peer: Network.NetworkActorPeer? { get }
Header
extension Distributed.DistributedActor where Self.ActorSystem == Network.NWActorSystem { var peer: (any Network.NWActorPeer)? { get } }