Actorcore Site

constructor() this.dispatcher = new Dispatcher(); // Create the root guardian actor this.root = new ActorCell('root', null, new GuardianBehavior(), this.dispatcher);

The ActorCell is the "hidden" implementation detail. It manages the mailbox queue and ensures serial processing of messages. actorcore

// 1. Define Behaviors class WorkerBehavior implements ActorBehavior private count = 0; constructor() this

// Implementation in Parent Actor onReceive(msg, ctx) ... constructor() this.dispatcher = new Dispatcher()