Introduction

You’ll next learn about actors in Swift Concurrency.

What are Actors?

An actor is a Swift type that allows thread-safe access to data. You can use actors to prevent state from being corrupted across different threads and to help prevent race conditions.

Learning Objectives

In this lesson, you’ll learn:

  • How to create actors.
  • How actors manage thread-safe access to mutable state.
  • How to use actors to prevent race conditions.
See forum comments
Download course materials from Github
Previous: Quiz: Structured Concurrency Next: Instruction