Closed davidrpugh closed 7 years ago
In a remote context one might not know the location and hence the ActorRef for the SettlementActor when creating an instance of an AuctionActor. Making the type of settlementService Option[ActorRef] allows users to initialize the field to None.
ActorRef
SettlementActor
AuctionActor
settlementService
Option[ActorRef]
None
In a remote context one might not know the location and hence the
ActorRef
for theSettlementActor
when creating an instance of anAuctionActor
. Making the type ofsettlementService
Option[ActorRef]
allows users to initialize the field toNone
.