Actor

    Common protocol to which all actors conform.

    iOS
    13.0+
    macOS
    10.15+
    tvOS
    13.0+
    watchOS
    6.0+
    protocol Actor : AnyActor

    The Actor protocol generalizes over all actor types. Actor types implicitly conform to this protocol.

    Supertypes

    • protocol AnyActor

      Common marker protocol providing a shared “base” for both (local) Actor and (potentially remote) DistributedActor types.

    • protocol Sendable

      A type whose values can safely be passed across concurrency domains by copying.

    Requirements

    Citizens in _Concurrency

    Members