BlueHuskyStudios / BlueHuskyStudios/DeadassSimpleMediaPlayer

`MediaItem` shouldn't be an `actor`

Open Beginner friendly
#56 0 comments 0 reactions 0 assignees View on GitHub
Automatically found
Dominant language
Swift
Stars
0
Forks
3
Avg merge
2d 22h
Merged PRs (30d)
9

Description

All five stored properties are `let`. There is no isolated mutable state, so the actor buys no protection — it only forces `await` at call sites and adds hops. A `final class: Sendable` would be equivalent and simpler. (The initializers are `async` because metadata extraction is, not because of isolation.)

Contributor guide

Open the contributing guide

Research direction

Locate the MediaItem declaration and inspect its five stored properties and async initializers. Update the type as described, then follow its call sites to verify unnecessary await usage is removed and the project still builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
audio-video-rtc
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.