the Actor manages the various message passing functions and provides an interface for the containers to use
Parameters
opts
Objectopts.id
ID the UUID of the Actoropts.module
Object the module this actor was created fromopts.state
Object the state of the moduleopts.storage
Object the actor's persistent storageopts.hypervisor
Object the instance of the hypervisoropts.nonce
Numberopts.Container
Function the module constructor and arguments
Runs the shutdown routine for the actor
Runs the startup routine for the actor
run the Actor with a given message
Parameters
Returns Promise
updates the number of ticks that the actor has run
Parameters
count
Number the number of ticks to add
creates an actor from a module and code
Parameters
Returns ActorRef
creates a modref from a module and code
Parameters
Returns ModuleRef
creates an actor from a modref
Parameters
modRef
ModuleRef the modref
Returns ActorRef
sends a message
Parameters
message
Message the message