phactor
phactor copied to clipboard
ActorSystem and autoloading
To perform autoloading in the actor system, an autoloader should be accepted by the actor system constructor (I don't see other cleaner ways to do this).
The autoloader (for now) could just be a file name as the second parameter to ActorSystem::__construct, where the file will be executed by the individually spawned threads on actor system startup.