IsolateQjs constructor

IsolateQjs({
  1. _JsAsyncModuleHandler? moduleHandler,
  2. int? stackSize,
  3. _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.hostPromiseRejectionHandler,
});