Source

operate/vm/extension.js

/**
 * The Operate Lua VM can be easily extended, either with native Lua modules,
 * or JavaScript code that is added to the Lua VM as functions.
 *
 * @interface Extension
 * @hideconstructor
 */
class Extension {
  /**
   * @abstract
   * @param {Object} vm
   */
  static extend(vm) {}
}

module.exports = Extension;