Can we get more information on callFunc? It's use is incorrectly documented. It says you need to pass in an args object, with the fields. that is not true. I have callfunc uses throughout my app that pass in strings/nodes, etc
ie.. callfunc("sayhello", hello)
function SayHello(message as string)
return "hello " + message
that works fine.
Also - no information at all about getting return values from callfunc - you can do this
myValue = aNode.callFunc("SayHello", "George")
? myValue >> "hello George"
And what's the cost of that? what happens with rendesvous? marshalling? What thread? What scope. Performance cost?
I reckon callfunc could be far more useful, and lead to some nice patterns; but it needs more documentation!
Roku developers slack group (http://tiny.cc/nrdf0y) : georgejecook
Contact me on roku developer slack group, or via pm to discuss consultancy/work opportunities/rooibos unit testing framework