In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We create a project build definition file called build.sbt by executing a simple
sbt command."
A block of code is set as follows:
import akka.actor.Props
import akka.actor.ActorSystem
object BehaviourAndState extends App {
val actorSystem = ActorSystem("HelloAkka")
// creating an actor inside the actor system
val actor = actorSystem.actorOf(Props[SummingActor])
// print actor path
println(actor.path)
}
Any command-line input or output is written as follows:
sbt "runMain com.packt.chapter1.BehaviorAndState"
akka://HelloAkka/user/$a
New terms and important words are shown in bold.
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.