Actors
Actors are Motoko’s unit of state and asynchronous concurrency. Each canister is an actor: it has private state and a public interface composed of asynchronous methods. This section covers the actor model, messaging, persistence across upgrades, and migration patterns.