Invoke the function specified by `function` in module `module` with the given arguments on the current thread. If this worker is currently busy running another thread this method will block until the other thread is done.
Note that if module specifies a module id, the function is looked up in the top level module scope, not the module's exports object.
@param module the module id or object @param function the function name or object @param args optional arguments to pass to the function @return the return value of the function invocation @throws NoSuchMethodException if the function could not be found @throws IOException if loading the module caused an IO error
|
|