---
title: "resolve(id:using:)"
framework: distributed
role: symbol
role_heading: Type Method
path: "distributed/distributedactor/resolve(id:using:)"
---

# resolve(id:using:)

Resolves the passed in id against the system, returning either a local or remote actor reference.

## Declaration

```swift
static func resolve(id: Self.ID, using system: Self.ActorSystem) throws -> Self
```

## Parameters

- `id`: Identity uniquely identifying a, potentially remote, actor in the system
- `system`: system which should be used to resolve the identity, and be associated with the returned actor

## Discussion

Discussion The system will be asked to resolve the identity and return either a local instance or request a proxy to be created for this identity. A remote distributed actor reference will forward all invocations through the system, allowing it to take over the remote messaging with the remote actor instance. note: Upon successful return, the returned actor’s id and actorSystem properties will be equal to the values passed as parameters to this method.
