If result is NULL, it will be an oobSend (R process will continue),
otherwise R process will wait for a response (oobMessage).
Usage
js_function(..., result = NULL)
Arguments
- ...
arguments passed to the function
- result
the type of value returned from JS to R
Value
A ts object that accepts js functions (as input).
Currently not able to pass as output (but should, in future ...).
Details
TODO: when compiling, automatically wrap in self.oobMessage() or self.oobSend(), as necessary... ?