apple / apple/swift-distributed-actors

Membership convenience to get a Cluster.Member that represents a specific actor

Open
#754 0 comments 0 reactions 0 assignees View on GitHub
1 - triaged help wanted size/S t:cluster:membership
Dominant language
Swift
Stars
679
Forks
84
PR merge metrics
No merged PRs in 30d

Description

Such as:

```swift
public func member(of actor: Act) -> Cluster.Member? where Act: DistributedActor {
self.uniqueMember(actor.address.node)
}
```

Contributor guide

Open the contributing guide

Research direction

Start by locating Cluster.Member and the existing uniqueMember lookup in the Swift distributed actors code. Add the convenience membership lookup described in the issue, then verify that passing a distributed actor returns the corresponding member or nil when no matching member exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
distributed-systems
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.