Since you've solicited info:
I just encountered a problem with MusicPlayer.State, in that it doesn't work with the current Observation framework. For example, this does not work:
withObservationTracking {
_ = musicPlayer.state.playbackStatus
} onChange: {
Task
{
print("PlaybackManager observed player-state change, to \(await self.musicPlayer.state).")
await self.playerChanged()
await self.startObserving() // await because of MainActor
}
}
I had migrated my application's observation usage to the new world order, but it looks like I have to revert files that use MusicPlayer.
Also: I urge the frameworks developers to abandon the idea that people are just slapping stuff into a SwiftUI view and calling it a day. This has turned development on Apple platforms into a tedious slog of workarounds and tricks to let controller-type objects communicate with each other; and repeated disappointment when each new observation regime repeats the same mistakes (for example, only offering "willChange" and not "didChange").