IsolateQjs constructor

IsolateQjs({
  1. _JsAsyncModuleHandler? moduleHandler,
  2. int? stackSize,
  3. int? timeout,
  4. int? memoryLimit,
  5. _JsHostPromiseRejectionHandler? hostPromiseRejectionHandler,
})

Quickjs engine runing on isolate thread.

Pass handlers to implement js-dart interaction and resolving modules. The methodHandler is used in isolate, so the handler function must be a top-level function or a static method.

Implementation

IsolateQjs({
  this.moduleHandler,
  this.stackSize,
  this.timeout,
  this.memoryLimit,
  this.hostPromiseRejectionHandler,
});