Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sample 3
static async invoke(method, ...args) {
try {
const zerorpc = PythonConnector.server();
return await Utils.promisify(zerorpc.invoke, zerorpc, method, ...args);
catch (e) {
return Promise.reject(e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment