Contents

shared

The shared actor instance that will be used to provide mutually-exclusive access to declarations annotated with the given global actor type.

Declaration

static var shared: Self.ActorType { get }

Discussion

The value of this property must always evaluate to the same actor instance.