Core concept

case class Ping(replyTo: ActorRef[Pong.type])
case object Pong
val pinger = Behaviors.receive[Ping] { ... }
Advertisement

How it works

New API different from untyped. Migration effort.

Advertisement

Trade-offs + gotchas

New Akka projects. Type-safe distributed apps.