August 2018
Intermediate to advanced
380 pages
10h 2m
English
The actors are defined as classes that inherit from the Actor class from the Akka library:
class HelloWorld extends Actor {
Actor exposes the following abstract API:

The only method that is abstract in Actor is the receive method. Akka calls this method when an actor needs to handle an incoming message. It returns a partial function from Any to Unit. This means that it is capable of handling a message from a domain of all objects, and it is supposed to produce some side effects while handling this message, which is indicated by the Unit return type. That function is a partial function, which means that ...