SwiftextensionNetwork
DistributedActor
extension Distributed.DistributedActor
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
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 { static func discover(_: Network.NWEndpoint, connectionParameters: Network.NWParameters, using: Network.NWActorSystem, invalidationHandler: ((_: (any Swift.Error)?) -> ())?) throws -> Self where Self.ActorSystem == Network.NWActorSystem static func discover(_: Network.NWActorDiscoveryMechanism, using: Network.NWActorSystem) throws -> Self where Self.ActorSystem == Network.NWActorSystem }