phactor icon indicating copy to clipboard operation
phactor copied to clipboard

ActorSystem and autoloading

Open tpunt opened this issue 8 years ago • 0 comments

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.

tpunt avatar Mar 03 '18 14:03 tpunt