mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Distributed] Implementing calling transport in resolve and assigning id/transp
This commit is contained in:
@@ -48,7 +48,7 @@ public protocol ActorTransport: Sendable {
|
||||
///
|
||||
/// Detecting liveness of such remote actors shall be offered / by transport libraries
|
||||
/// by other means, such as "watching an actor for termination" or similar.
|
||||
func resolve<Act>(_ identity: AnyActorIdentity, as actorType: Act.Type) throws -> ActorResolved<Act>
|
||||
func resolve<Act>(_ identity: AnyActorIdentity, as actorType: Act.Type) throws -> ActorResolved<Act> // TODO(distributed): make just optional
|
||||
where Act: DistributedActor
|
||||
|
||||
// ==== ---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user