[Distributed] move where we invoke dist synthesis; detect transport param

This commit is contained in:
Konrad `ktoso` Malawski
2021-08-06 23:21:34 +09:00
parent e1dcd776c5
commit 1f33a0cc45
18 changed files with 230 additions and 184 deletions

View File

@@ -34,11 +34,11 @@ public protocol AnyActor {}
/// distributed actor.
@available(SwiftStdlib 5.5, *)
public protocol DistributedActor:
// AnyActor,
AnyActor,
AnyObject,
Identifiable, Hashable, Codable {
init(transport: ActorTransport) // FIXME(distributed): must remove this
// init(transport: ActorTransport) // FIXME(distributed): must remove this
/// Resolves the passed in `identity` against the `transport`, returning
/// either a local or remote actor reference.