---
title: MainActor.ActorType
framework: swift
role: symbol
role_heading: Type Alias
path: swift/mainactor/actortype
---

# MainActor.ActorType

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

## Declaration

```swift
typealias ActorType = MainActor
```
