Doc changes on supervising example on Tutorial guide # 26429

This commit is contained in:
Hungai Amuhinda 2019-03-04 17:17:21 +03:00 committed by Patrik Nordwall
parent 05d59f8370
commit ff9289a089

View file

@ -60,12 +60,12 @@ class StartStopActor2 extends Actor {
}
//#start-stop
//#supervise
object SupervisingActor {
def props: Props =
Props(new SupervisingActor)
}
//#supervise
class SupervisingActor extends Actor {
val child = context.actorOf(SupervisedActor.props, "supervised-actor")