Hello,
I've put in place an example of an access of an actor's internal functions without messages, basically because an actor simply is an object.
You can check this working example here:
http://pastebin.com/0uwjaxbtBasically, I simply wanted to create an object which would be considered an actor by pulsar, which I could simply spawn. Effectively having some functions internal to the actor, acting only on it's content.
But, right now, it seems that I must either add an object inside a previously created actor, or modify an actor, after creation, in order for it to store things I plan it to keep and work on. For such a case, given any function, to apply it to an actor's internal value, I need to send the whole function to the actor in a weird manner: `a.send(b, 'run', function, b.value1, b.value2)` for example.
Am I doing shit in my example? Perhaps what I would like to achieve is not possible…
Thank you for your time, at least to read my message :)
Jiehong