Skip to content

Glossary: Swift Beyond the Basics

@concurrent

A Swift 6.2 attribute put before an `async` function to run it off the main actor, which matters in targets that put all code on the main actor by default. Its arguments and result must be `Sendable`.

Where the book teaches it

Related terms

main actorSendable