actorSystemKey

    Key which is required to be set on a Decoder’s userInfo while attempting to init(from:) a DistributedActor. The stored value under this key must conform to DistributedActorSystem.

    iOS
    16.0+
    macOS
    13.0+
    tvOS
    16.0+
    watchOS
    9.0+
    static let actorSystemKey: CodingUserInfoKey

    Forgetting to set this key will result in that initializer throwing, because an actor system is required in order to call resolve(id:using:) using it.