20.1. Creating and Starting Actors
An actor is a class that extends the Actor trait. That trait has one abstract method, act. Override that method to specify the actor’s behavior.
Typically, the act method contains a message loop.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial