<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Distributed/LocalTestingDistributedActorSystem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Distributed"
    ],
    "preciseIdentifier" : "s:11Distributed012LocalTestingA11ActorSystemC"
  },
  "title" : "LocalTestingDistributedActorSystem"
}
-->

# LocalTestingDistributedActorSystem

A `DistributedActorSystem` designed for local only testing.

```
final class LocalTestingDistributedActorSystem
```

## Overview

It will crash on any attempt of remote communication, but can be useful
for learning about `distributed actor` isolation, as well as early
prototyping stages of development where a real system is not necessary yet.

## Topics

### Initializers

[`init()`](/documentation/Distributed/LocalTestingDistributedActorSystem/init())

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`DistributedActorSystem`](/documentation/Distributed/DistributedActorSystem)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)