SwiftenumNetwork

enum Network.NWActorSystem.ServerRole

Structure

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

Members 2

  1. casecase onDemand((Network.NWActorSystem) -> Distributed.DistributedActor, CheckedContinuation<(), Error>?)
  2. casecase singleton(Distributed.DistributedActor, CheckedContinuation<(), Error>?)
enum Network.NWActorSystem.ServerRole {
    case singleton(any Distributed.DistributedActor, Swift.CheckedContinuation<(), any Swift.Error>?)
    case onDemand((_: Network.NWActorSystem) -> any Distributed.DistributedActor, Swift.CheckedContinuation<(), any Swift.Error>?)
}