The modelContext is not Sendable, when I have an async func, such like download data from Internet, I can't pass the modelContext as parameter, the compiler complaints said it causes data race.
So I shared the modelContainer globally, then create the modelContext inside the async func, complier seems fine with that, and everything works.
But I still worry is that OK, any concerns, what's the best practice for that?