SwiftextensionNetwork

extension Distributed.DistributedActor

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 3

  1. funcstatic Distributed.DistributedActor< where A.ActorSystem == Network.NWActorSystem>.discover(_: Network.NWEndpoint, connectionParameters: Network.NWParameters, using: Network.NWActorSystem, invalidationHandler: ((Error?) -> ())?) throws -> A
  2. funcstatic Distributed.DistributedActor< where A.ActorSystem == Network.NWActorSystem>.discover(_: Network.NWActorDiscoveryMechanism, using: Network.NWActorSystem) throws -> A
  3. varvar peer: Network.NetworkActorPeer? { get }
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
}