Guest User

Untitled

a guest
Nov 18th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. static async invoke(method, ...args) {
  2. try {
  3. const zerorpc = PythonConnector.server();
  4. return await Utils.promisify(zerorpc.invoke, zerorpc, method, ...args);
  5. }
  6. catch (e) {
  7. return Promise.reject(e)
  8. }
  9. }
Add Comment
Please, Sign In to add comment