mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Concurrency] Obsolete AnyActor in Swift 6 using a typealias.
This commit is contained in:
@@ -197,7 +197,7 @@ import _Concurrency
|
||||
/// - SeeAlso: ``Actor``
|
||||
/// - SeeAlso: ``AnyActor``
|
||||
@available(SwiftStdlib 5.7, *)
|
||||
public protocol DistributedActor: AnyActor, Identifiable, Hashable
|
||||
public protocol DistributedActor: AnyObject, Sendable, Identifiable, Hashable
|
||||
where ID == ActorSystem.ActorID,
|
||||
SerializationRequirement == ActorSystem.SerializationRequirement {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user