Swift 并发中的 Actor 边界:让 ViewModel 只负责 UI 状态 May 21, 2025 把共享可变资源交给 actor,把界面状态留在 MainActor,并用请求身份与取消处理竞态。