What does @MainActor mean

I'm trying to figure out what @MainActor means in this definition of UICloudSharingController in Apple Documents found here.

Here's what it says:

@MainActor class UICloudSharingController : UIViewController

I couldn't find much information on Google. This Apple Documentation is the closest thing I found. Is this what i need? Here is the declaration to the MainActor class:

@globalActor final actor MainActor

The @MainActor attribute means this class can only be used from the main actor, which is an actor that represents the main thread. You can learn more about the MainActor at the 23:20 mark of the Protect mutable state with Swift actors video from WWDC21.

What does @MainActor mean
 
 
Q