BlueHuskyStudios / BlueHuskyStudios/DeadassSimpleMediaPlayer
`MediaItem` shouldn't be an `actor`
Open
Beginner friendly
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
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