QuickJsRuntime2 constructor

QuickJsRuntime2({
  1. _JsModuleHandler? moduleHandler,
  2. int stackSize = 1024 * 1024,
  3. int? timeout,
  4. int? memoryLimit,
  5. _JsHostPromiseRejectionHandler? hostPromiseRejectionHandler,
})

Implementation

QuickJsRuntime2({
  this.moduleHandler,
  this.stackSize = 1024 * 1024,
  this.timeout,
  this.memoryLimit,
  this.hostPromiseRejectionHandler,
}) {
  this.init();
}